mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Fixed incorrect for loops in unit tests
This commit is contained in:
parent
86083e18e7
commit
cf646a9d89
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user