testing the tombstone-ing

This commit is contained in:
Richard Thier 2024-10-10 16:38:15 +02:00
parent 21351fd2b4
commit 047babeb1b

View File

@ -15,6 +15,7 @@ void test_basics(amap mapdo, void *map) {
/* Delete / tombstone */
assert(NULL != mapdo(map, AMAP_SET, "meaning", NULL));
assert(NULL == (int *)mapdo(map, AMAP_GET, "meaning", NULL));
/* Check re-adding */
assert(NULL != mapdo(map, AMAP_SET, "meaning", &i));