Revert "Minor additions to unit test of data structures"
This reverts commit f1bab48fb5
.
Unnecessary checks were added that were already checked by the preceding
for statement.
This commit is contained in:
parent
f1bab48fb5
commit
d6878b0f1d
1 changed files with 0 additions and 7 deletions
|
@ -148,13 +148,6 @@ int main(void) {
|
|||
}
|
||||
}
|
||||
|
||||
key = 5;
|
||||
CHECK_TRUE(simple_archiver_hash_map_get(hash_map, &key, sizeof(int)) == NULL);
|
||||
key = 10;
|
||||
CHECK_TRUE(simple_archiver_hash_map_get(hash_map, &key, sizeof(int)) != NULL);
|
||||
key = 15;
|
||||
CHECK_TRUE(simple_archiver_hash_map_get(hash_map, &key, sizeof(int)) == NULL);
|
||||
|
||||
simple_archiver_hash_map_free(&hash_map);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue