Commit 1a22ef1
Changed files (3)
src
02
src/02/04/hash_test.c
@@ -63,7 +63,8 @@ TestSuite *hash_table_tests() {
add_test_with_context(suite, HashTable,
when_getting_a_values_for_a_key_that_has_been_inserted);
add_test_with_context(suite, HashTable, when_a_hash_collision_occurs);
- add_test_with_context(suite, HashTable, when_inserting_multiple_items_into_the_hash_table);
+ add_test_with_context(suite, HashTable,
+ when_inserting_multiple_items_into_the_hash_table);
return suite;
}
src/02/04/list.c
@@ -48,7 +48,6 @@ void list_inspect(Node *self, Printer printer) {
printf("[");
while (self) {
printer(self->data);
- /*printf(" %p ", self->data);*/
self = self->next;
}
printf("]\n");
src/02/04/main.c
@@ -1,5 +1,5 @@
-#include <stdio.h>
#include "hash.h"
+#include <stdio.h>
int main(int argc, char *argv[]) {
printf("=== COMP-272 - Assignment 02 - Question 04 ===\n");