Skip to content

Commit

Permalink
Add status messages to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilDohne committed Mar 8, 2024
1 parent 444dd48 commit 48a9b75
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions PhotoshopTest/src/TestEndianConversion/TestEndian.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ TEST_CASE("Endian Roundtripping 32-bit array large uneven")
// ---------------------------------------------------------------------------------------------------------------------
TEST_CASE("Endian Decode Binary 8-bit")
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 16-bit");
uint32_t width = 32;
uint32_t height = 32;

Expand All @@ -171,6 +172,7 @@ TEST_CASE("Endian Decode Binary 8-bit")
// ---------------------------------------------------------------------------------------------------------------------
TEST_CASE("Endian Decode Binary 16-bit")
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 16-bit");
uint32_t width = 32;
uint32_t height = 32;

Expand All @@ -194,6 +196,7 @@ TEST_CASE("Endian Decode Binary 16-bit")
// ---------------------------------------------------------------------------------------------------------------------
TEST_CASE("Endian Decode Binary 32-bit")
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 32-bit");
uint32_t width = 32;
uint32_t height = 32;

Expand All @@ -220,6 +223,7 @@ TEST_CASE("Endian Decode Binary 32-bit")
// ---------------------------------------------------------------------------------------------------------------------
TEST_CASE("Endian Decode Binary 8-bit uneven")
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 8-bit uneven");
uint32_t width = 27;
uint32_t height = 35;

Expand All @@ -237,6 +241,7 @@ TEST_CASE("Endian Decode Binary 8-bit uneven")
// ---------------------------------------------------------------------------------------------------------------------
TEST_CASE("Endian Decode Binary 16-bit uneven")
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 16-bit uneven");
uint32_t width = 27;
uint32_t height = 35;

Expand All @@ -260,6 +265,7 @@ TEST_CASE("Endian Decode Binary 16-bit uneven")
// ---------------------------------------------------------------------------------------------------------------------
TEST_CASE("Endian Decode Binary 32-bit uneven")
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 32-bit uneven");
uint32_t width = 27;
uint32_t height = 35;

Expand All @@ -286,6 +292,7 @@ TEST_CASE("Endian Decode Binary 32-bit uneven")
// ---------------------------------------------------------------------------------------------------------------------
TEST_CASE("Endian Decode Binary 8-bit large")
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 8-bit large");
uint32_t width = 2048;
uint32_t height = 2048;

Expand All @@ -303,6 +310,7 @@ TEST_CASE("Endian Decode Binary 8-bit large")
// ---------------------------------------------------------------------------------------------------------------------
TEST_CASE("Endian Decode Binary 16-bit large")
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 16-bit large");
uint32_t width = 2048;
uint32_t height = 2048;

Expand All @@ -326,6 +334,7 @@ TEST_CASE("Endian Decode Binary 16-bit large")
// ---------------------------------------------------------------------------------------------------------------------
TEST_CASE("Endian Decode Binary 32-bit large")
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 32-bit large");
uint32_t width = 2048;
uint32_t height = 2048;

Expand Down Expand Up @@ -353,6 +362,7 @@ TEST_CASE("Endian Decode Binary 32-bit large")
// ---------------------------------------------------------------------------------------------------------------------
TEST_CASE("Endian Decode Binary 8-bit large uneven")
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 8-bit large uneven");
uint32_t width = 3288;
uint32_t height = 1671;

Expand All @@ -370,6 +380,7 @@ TEST_CASE("Endian Decode Binary 8-bit large uneven")
// ---------------------------------------------------------------------------------------------------------------------
TEST_CASE("Endian Decode Binary 16-bit large uneven")
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 16-bit large uneven");
uint32_t width = 3288;
uint32_t height = 1671;

Expand All @@ -393,6 +404,7 @@ TEST_CASE("Endian Decode Binary 16-bit large uneven")
// ---------------------------------------------------------------------------------------------------------------------
TEST_CASE("Endian Decode Binary 32-bit large uneven")
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 32-bit large uneven");
uint32_t width = 3288;
uint32_t height = 1671;

Expand Down Expand Up @@ -424,6 +436,7 @@ TEST_CASE("Endian Decode Binary 16-bit incorrect data size"
* doctest::no_output(true)
* doctest::should_fail(true))
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 16-bit incorrect data size");
uint32_t width = 32;
uint32_t height = 32;

Expand All @@ -442,6 +455,7 @@ TEST_CASE("Endian Decode Binary 32-bit incorrect data size"
* doctest::no_output(true)
* doctest::should_fail(true))
{
PSAPI_LOG("Test", "Running Test: Endian Decode Binary 32-bit incorrect data size");
uint32_t width = 32;
uint32_t height = 32;

Expand Down

0 comments on commit 48a9b75

Please # to comment.