Add more test about SDAnimatedImage

This commit is contained in:
DreamPiggy 2018-08-10 10:19:21 +08:00
parent 8bd5e5e44d
commit b0775361b5
1 changed files with 1 additions and 0 deletions

View File

@ -218,6 +218,7 @@ static const NSUInteger kTestGIFFrameCount = 5; // local TestImage.gif loop coun
// Progressive image may be nil when download data is not enough
if (image) {
expect(image.sd_isIncremental).beTruthy();
expect([image conformsToProtocol:@protocol(SDAnimatedImage)]).beTruthy();
BOOL isProgressive = imageView.isProgressive;
expect(isProgressive).equal(YES);
}