diff --git a/src/test/c/Stefan/test_blackjack.c b/src/test/c/Stefan/test_blackjack.c index 203978c..f65013b 100644 --- a/src/test/c/Stefan/test_blackjack.c +++ b/src/test/c/Stefan/test_blackjack.c @@ -213,3 +213,17 @@ void test_generate_char_for_card_ace() { TEST_ASSERT_EQUAL_CHAR(expected_result, actual_result); } + +void test_generate_char_for_card_9() { + + //arrange + int cardValue = 9; + char expected_result = '9'; + + //act + char actual_result = generateCardAscii(cardValue); + + //assert + TEST_ASSERT_EQUAL_CHAR(expected_result, actual_result); + +}