mirror of
https://github.com/nlohmann/json
synced 2024-11-27 14:20:07 +00:00
more test cases
This commit is contained in:
parent
1ac4d673b6
commit
f66e603686
@ -6239,6 +6239,7 @@ TEST_CASE("lexicographical comparison operators")
|
||||
for (size_t i = 0; i < j_values.size(); ++i)
|
||||
{
|
||||
CHECK( (j_values[i] == j_discarded) == false);
|
||||
CHECK( (j_discarded == j_values[i]) == false);
|
||||
}
|
||||
}
|
||||
|
||||
@ -6288,6 +6289,7 @@ TEST_CASE("lexicographical comparison operators")
|
||||
for (size_t i = 0; i < j_values.size(); ++i)
|
||||
{
|
||||
CHECK( (j_values[i] < j_discarded) == false);
|
||||
CHECK( (j_discarded < j_values[i]) == false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user