1
0
mirror of https://github.com/nlohmann/json synced 2024-11-27 14:20:07 +00:00

more test cases

This commit is contained in:
Niels 2015-05-03 18:59:58 +02:00
parent 1ac4d673b6
commit f66e603686

View File

@ -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);
}
}