another test case
This commit is contained in:
parent
807de40463
commit
f8d263a811
1 changed files with 6 additions and 4 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue