// TestLoadNotAnimated checks that an unanimated GIF will be treated as such.
TestLoadNotAnimated checks that an unanimated GIF will be treated as such.
// TestLoadNotAnimated checks that an unanimated GIF will be treated as such .
func TestLoadNotAnimated(t *testing.T) {
	m, _, err := LoadImage(getResource("not-animated-pixel.gif"))
	if err != ErrNotAnimated {
		t.Errorf(`err = %v, want %v`, err, ErrNotAnimated)
	}
	if _, ok := m.(*gif.Helper); ok {
		t.Errorf(`Image is an gif.Helper`)
	}
}
func TestLoadNotAnimated ( t * testing . T ) { m , _ , err := LoadImage ( getResource ( " " ) ) if err != ErrNotAnimated { t . Errorf ( `err = %v, want %v` , err , ErrNotAnimated ) } if _ , ok := m . ( * gif . Helper ) ; ok { t . Errorf ( `Image is an gif.Helper` ) } }
TestLoadNotAnimated checks that an unanimated GIF will be treated as such.
TestLoadNotAnimated checks that an unanimated GIF will be treated as such .