From c418d67b21aa3b859643f7fe339f769561224cb2 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Fri, 28 Feb 2020 00:16:35 +0100 Subject: [PATCH] Update test example to validate board state --- main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.c b/main.c index bf9acbe..41eb88b 100644 --- a/main.c +++ b/main.c @@ -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; }