Commit f8d263a8 authored by Niels's avatar Niels

another test case

parent 807de404
...@@ -938,11 +938,13 @@ TEST_CASE("null") ...@@ -938,11 +938,13 @@ TEST_CASE("null")
CHECK(n1 == json()); CHECK(n1 == json());
CHECK(n2 == json()); CHECK(n2 == json());
json::reverse_iterator ri = n1.rbegin(); json::iterator it = n1.begin();
ri--; ++it;
CHECK(it == n1.end());
json::const_reverse_iterator rci = n1.crbegin(); json::const_iterator cit = n1.cbegin();
rci--; ++cit;
CHECK(cit == n1.cend());
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment