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