Update test example to validate board state

This commit is contained in:
Gabriel Tofvesson 2020-02-28 00:16:35 +01:00
parent f4d4bce58a
commit c418d67b21

5
main.c
View File

@ -152,5 +152,10 @@ main (int argc, char **argv, char **env)
print_board (&board);
if (board_is_valid (&board))
puts("Board is valid!");
else
puts ("Board is invalid!");
return 0;
}