From e7f6a392997cdda4c359bd48e1b8edb44cae6be6 Mon Sep 17 00:00:00 2001 From: fdai7820 Date: Thu, 8 Feb 2024 20:04:58 +0100 Subject: [PATCH] Test Display Menus --- src/test/test_duellist_spielesammlung_projekt.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/test/test_duellist_spielesammlung_projekt.c b/src/test/test_duellist_spielesammlung_projekt.c index 20efdef..088cbe0 100644 --- a/src/test/test_duellist_spielesammlung_projekt.c +++ b/src/test/test_duellist_spielesammlung_projekt.c @@ -640,7 +640,15 @@ void test_displayResult_correctResult(void) } +void test_displayMenu_validMenu(void) +{ + /* arrange */ + /* act */ + // Since displayMenu() only prints to the console, we can't use TEST_ASSERT. + // Manually verify the output in the console during test execution. + displayMenu(); +}