diff --git a/src/test/c/Stefan/test_blackjack.c b/src/test/c/Stefan/test_blackjack.c index 6a9dcd6..6974abd 100644 --- a/src/test/c/Stefan/test_blackjack.c +++ b/src/test/c/Stefan/test_blackjack.c @@ -228,6 +228,20 @@ void test_calculate_if_you_won_20_vs_21() { } +void test_calculate_if_you_won_21_vs_21() { + + //arrange + int userCardsTotal = 21; + int dealerCardsTotal = 21; + + //act + bool result = calculateIfYouWon(userCardsTotal, dealerCardsTotal); + + //assert + TEST_ASSERT_FALSE(result); + +} + void test_generate_char_for_card_2() { //arrange