Cooler images for mirror tests

This commit is contained in:
Leonetienne
2022-03-06 15:09:15 +01:00
parent 316ddc4a24
commit 7b53a01898
13 changed files with 10 additions and 9 deletions

View File

@@ -10,13 +10,13 @@ TEST_CASE(__FILE__"/Mirroring produces the correct results", "[Mirroring][Mirror
{
SECTION("RGB") {
// Read a gradient image
BMP bmp("base_gradient.bmp");
BMP bmp("base_fuwadera2.bmp");
// Mirror it
bmp = bmp.MirrorVertically();
// Read reference image
const BMP reference("base_gradient_flipped_ver.bmp");
const BMP reference("base_fuwadera2_mirror_ver.bmp");
// Assert that they are equal
REQUIRE(bmp == reference);
@@ -24,13 +24,13 @@ TEST_CASE(__FILE__"/Mirroring produces the correct results", "[Mirroring][Mirror
SECTION("RGBA") {
// Read a gradient image
BMP bmp("basea_gradient.bmp");
BMP bmp("basea_fuwadera2.bmp");
// Mirror it
bmp = bmp.MirrorVertically();
// Read reference image
const BMP reference("basea_gradient_flipped_ver.bmp");
const BMP reference("basea_fuwadera2_mirror_ver.bmp");
// Assert that they are equal
REQUIRE(bmp == reference);