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.MirrorHorizontally();
// Read reference image
const BMP reference("base_gradient_flipped_hor.bmp");
const BMP reference("base_fuwadera2_mirror_hor.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.MirrorHorizontally();
// Read reference image
const BMP reference("basea_gradient_flipped_hor.bmp");
const BMP reference("basea_fuwadera2_mirror_hor.bmp");
// Assert that they are equal
REQUIRE(bmp == reference);

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);

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

View File

@ -2,5 +2,6 @@ base*.bmp is always RGB, basea*.bmp is always RGBA.
# LICENSE
Any images in here are licensed under CC0, Public Domain.
Some i have created myself, some i have found on the interwebz.
Some i have created myself, some i have found on the interwebz.
Weeb pics are from [sokyun moeesyugyouchu](https://www.publicdomainpictures.net/en/browse-author.php?a=72293).