diff --git a/game_test_thoguet.c b/game_test_thoguet.c index 5c3eb1c..2953743 100644 --- a/game_test_thoguet.c +++ b/game_test_thoguet.c @@ -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); }