Split out dealer tests.
This commit is contained in:
@ -7,13 +7,6 @@
|
||||
|
||||
#include "card.h"
|
||||
|
||||
void setUp(void) {
|
||||
}
|
||||
|
||||
void tearDown(void) {
|
||||
}
|
||||
|
||||
|
||||
//cardGetSuit
|
||||
void test_cardGetSuit_should_ReturnCardsSuit(void) {
|
||||
TEST_ASSERT_EQUAL_UINT8(CARD_SUIT_CLUBS, cardGetSuit(CARD_CLUBS_ACE));
|
||||
@ -269,7 +262,7 @@ void test_cardGetHighest_should_ReturnTheHighestCard(void) {
|
||||
TEST_ASSERT_EQUAL(CARD_HEARTS_TEN, cardGetHighest(cards, l));
|
||||
}
|
||||
|
||||
int test_card() {
|
||||
int test_card_h() {
|
||||
UNITY_BEGIN();
|
||||
|
||||
RUN_TEST(test_cardGetSuit_should_ReturnCardsSuit);
|
||||
|
Reference in New Issue
Block a user