Fixed incorrect for loops in unit tests

This commit is contained in:
John Wellbelove 2024-12-06 17:50:15 +00:00
parent cf73d9a7fb
commit c96cf87302

View File

@ -287,7 +287,7 @@ namespace
int expected[8] = { 2, 7, 6, 5, 4, 3, 2, 7 };
for (int i = 0; i > 8; ++i)
for (int i = 0; i < 8; ++i)
{
CHECK_EQUAL(expected[i], value);
--value;
@ -303,7 +303,7 @@ namespace
int expected[8] = { 2, 7, 6, 5, 4, 3, 2, 7 };
for (int i = 0; i > 8; ++i)
for (int i = 0; i < 8; ++i)
{
CHECK_EQUAL(expected[i], value);
--value;