| 84 | }; |
| 85 | |
| 86 | TEST_F(ImageCacheTests, getUpscaleReturnOriginalSize) { |
| 87 | auto result = getImage(_url, getWidth() * 2, getHeight() * 2); |
| 88 | |
| 89 | ASSERT_FALSE(result.failure()); |
| 90 | auto image = result.moveValue(); |
| 91 | |
| 92 | ASSERT_TRUE(image->width() == getWidth()); |
| 93 | ASSERT_TRUE(image->height() == getHeight()); |
| 94 | } |
| 95 | |
| 96 | TEST_F(ImageCacheTests, requestingOriginalDimensionReturnOriginalSize) { |
| 97 | auto result = getImage(_url, getWidth(), getHeight()); |
nothing calls this directly
no test coverage detected