mirror of
https://github.com/sdsykes/fastimage.git
synced 2025-09-20 00:01:59 -04:00
Add an animated GIF without a global color table
This commit is contained in:
parent
c78578c097
commit
e4c35d951e
BIN
test/fixtures/animated_without_gct.gif
vendored
Normal file
BIN
test/fixtures/animated_without_gct.gif
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
@ -15,6 +15,7 @@ GoodFixtures = {
|
||||
"test_v5header.bmp"=>[:bmp, [40, 27]],
|
||||
"test.gif"=>[:gif, [17, 32]],
|
||||
"animated.gif"=>[:gif, [400, 400]],
|
||||
"animated_without_gct.gif"=>[:gif, [859, 478]],
|
||||
"test.jpg"=>[:jpeg, [882, 470]],
|
||||
"test.png"=>[:png, [30, 20]],
|
||||
"test2.jpg"=>[:jpeg, [250, 188]],
|
||||
@ -108,6 +109,7 @@ class FastImageTest < Test::Unit::TestCase
|
||||
assert_equal nil, FastImage.animated?(TestUrl + "test.png")
|
||||
assert_equal false, FastImage.animated?(TestUrl + "test.gif")
|
||||
assert_equal true, FastImage.animated?(TestUrl + "animated.gif")
|
||||
assert_equal true, FastImage.animated?(TestUrl + "animated_without_gct.gif")
|
||||
end
|
||||
|
||||
def test_should_return_nil_on_fetch_failure
|
||||
|
Loading…
x
Reference in New Issue
Block a user