mirror of
https://github.com/nlohmann/json.git
synced 2024-11-24 14:59:00 +08: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