Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Cleanup merge issue.
  • Loading branch information
mmichalek committed Nov 11, 2015
1 parent 584bffa commit 1159b8d
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions symmetric-client-clib-test/src/util/MapTest.c
Expand Up @@ -321,25 +321,6 @@ void SymMapTest_testResetRemove() {
CU_ASSERT(map->get(map, "1") == NULL);
}

void SymMapTest_testResetRemove() {
int mapSize = 16;
SymMap *map = SymMap_new(NULL, mapSize);
int i;
for (i = 0; i < mapSize; i++) {
map->put(map, SymStringUtils_format("%d", i), SymStringUtils_format("value %d", i));
}
CU_ASSERT(SymStringUtils_equals(map->get(map, "1"), "value 1"));
map->reset(map);
CU_ASSERT(map->get(map, "1") == NULL);
map->remove(map, "1");
CU_ASSERT(map->get(map, "1") == NULL);

map->put(map, "1", "value 1");
CU_ASSERT(SymStringUtils_equals(map->get(map, "1"), "value 1"));
map->remove(map, "1");
CU_ASSERT(map->get(map, "1") == NULL);
}

int SymMapTest_CUnit() {
CU_pSuite suite = CU_add_suite("SymMapTest", NULL, NULL);
if (suite == NULL) {
Expand Down

0 comments on commit 1159b8d

Please sign in to comment.