another test case

This commit is contained in:
Niels 2015-01-23 18:42:24 +01:00
parent 807de40463
commit f8d263a811

View file

@ -938,11 +938,13 @@ TEST_CASE("null")
CHECK(n1 == json());
CHECK(n2 == json());
json::reverse_iterator ri = n1.rbegin();
ri--;
json::iterator it = n1.begin();
++it;
CHECK(it == n1.end());
json::const_reverse_iterator rci = n1.crbegin();
rci--;
json::const_iterator cit = n1.cbegin();
++cit;
CHECK(cit == n1.cend());
}
}