| 141 | //------------------------------------------------------------------------------ |
| 142 | |
| 143 | static void compareImageFiles( |
| 144 | const boost::filesystem::path& test_filename, |
| 145 | const boost::filesystem::path& ref_filename) |
| 146 | { |
| 147 | gdImagePtr test_image = openImageFile(test_filename); |
| 148 | ASSERT_THAT(test_image, NotNull()); |
| 149 | |
| 150 | gdImagePtr ref_image = openImageFile(ref_filename); |
| 151 | ASSERT_THAT(ref_image, NotNull()); |
| 152 | |
| 153 | compareImages(test_image, ref_image); |
| 154 | |
| 155 | gdImageDestroy(test_image); |
| 156 | gdImageDestroy(ref_image); |
| 157 | } |
| 158 | |
| 159 | //------------------------------------------------------------------------------ |
| 160 |
no test coverage detected