update test_game_new

This commit is contained in:
Théophyl Hoguet committed 2021-11-28 20:52:08 +01:00
1 parent fddc2872c5
commit d9477ef979
1 file changed
+5
+5
View File
@@ -68,6 +68,11 @@ bool test_game_new(void) {
}
printf("%d\n", i);
g = game_new(tab);
for (uint i = 0; i < DEFAULT_SIZE; i++) {
for (uint j = 0; j < DEFAULT_SIZE; j++) {
assert(list[i] == game_get_square(g, i, j));
}
}
assert(g);
game_delete(g);
}