test(splay_map): add tests for improving code coverage
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
98b4e09063
commit
c00534209a
1 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,11 @@ static void tst0() {
|
|||
lean_assert(m1[20] == name("t2"));
|
||||
lean_assert(m2[10] == name("t3"));
|
||||
lean_assert(m2[20] == name("t2"));
|
||||
lean_assert(m2.size() == 2);
|
||||
lean_assert(m2[100] == name());
|
||||
lean_assert(m2.size() == 3);
|
||||
lean_assert(m2[100] == name());
|
||||
lean_assert(m2.size() == 3);
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
|
Loading…
Reference in a new issue