Skip to content

Commit

Permalink
Update hash table test
Browse files Browse the repository at this point in the history
  • Loading branch information
uoo723 committed Jun 22, 2017
1 parent a870d60 commit 3519461
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/hash_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ int main() {
ht_set(hashtable, 2880, "Sang");
ht_set(hashtable, 23023, "Woo");
ht_set(hashtable, 23023, "W");
ht_set(hashtable, 1000000 + 2880, "Sang2");

print_node(ht_get(hashtable, 238));
print_node(ht_get(hashtable, 2880));
print_node(ht_get(hashtable, 23023));
print_node(ht_get(hashtable, 3));
print_node(ht_get(hashtable, 1000000 + 2880));

printf("ht_remove test\n");
ht_remove(hashtable, 3);
Expand Down

0 comments on commit 3519461

Please sign in to comment.