Update the test case again for checking non-blank image
This commit is contained in:
parent
6dcbec2b87
commit
3eb553d251
|
@ -413,7 +413,8 @@
|
|||
UIImage *decodedImage = [SDImageCoderHelper decodedImageWithImage:testImage];
|
||||
expect(decodedImage).notTo.beNil();
|
||||
UIColor *testColor = [decodedImage sd_colorAtPoint:CGPointMake(100, 100)];
|
||||
expect([[testColor sd_hexString] isEqualToString:@"#ff0a64bf"]).beTruthy();
|
||||
// Should not be black color
|
||||
expect([[testColor sd_hexString] isEqualToString:UIColor.blackColor.sd_hexString]).beFalsy();
|
||||
}
|
||||
|
||||
#pragma mark - Helper
|
||||
|
|
Loading…
Reference in New Issue