TreeMap no longer depends on ITER
This commit is contained in:
1 parent
b6343b4857
commit
209d45be5d
5 files changed
+143
-32
No files matched your search
@@ -116,6 +116,9 @@ CMC_CREATE_UNIT(CMCTreeMap, true, {
|
||||
tm_get_ref(map, 1);
|
||||
cmc_assert_equals(int32_t, CMC_FLAG_EMPTY, tm_flag(map));
|
||||
|
||||
for (size_t i = 0; i < 100; i++)
|
||||
cmc_assert(tm_insert(map, i, i));
|
||||
|
||||
// copy_of
|
||||
map->flag = CMC_FLAG_ERROR;
|
||||
struct treemap *map2 = tm_copy_of(map);
|
||||
|
||||
Reference in new issue
Block a user