Refactored the `SDWebImageDecoderTests` a bit. Per DRY, created `verifyCoder:wit…
…hLocalImageURL:isAnimatedImage:` method that will take a imageURL and a coder and will check decoding and encoding back and forth, sizes and so. Reusing this method for the static WebP image, for the animated WebP image and for the GIF.
Showing
2 changed files
with
49 additions
and
50 deletions
-
Please register or login to post a comment