From e4b7b0dbfd8a5ab3eaada626aabd91ddbff9ebf5 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Tue, 6 Feb 2024 21:15:51 +0100 Subject: [PATCH] test drawHangman (more test cases) --- test/Hangman/test_drawHangman.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/test/Hangman/test_drawHangman.c b/test/Hangman/test_drawHangman.c index 6eb9faf..debca49 100644 --- a/test/Hangman/test_drawHangman.c +++ b/test/Hangman/test_drawHangman.c @@ -9,4 +9,32 @@ void test_drawHangman() { drawHangman(0); printf("\n"); + printf("Testing drawHangman(1):\n"); + drawHangman(1); + printf("\n"); + + printf("Testing drawHangman(2):\n"); + drawHangman(2); + printf("\n"); + + printf("Testing drawHangman(3):\n"); + drawHangman(3); + printf("\n"); + + printf("Testing drawHangman(4):\n"); + drawHangman(4); + printf("\n"); + + printf("Testing drawHangman(5):\n"); + drawHangman(5); + printf("\n"); + + printf("Testing drawHangman(6):\n"); + drawHangman(6); + printf("\n"); + + printf("Testing drawHangman(7):\n"); + drawHangman(7); + printf("\n"); + } \ No newline at end of file