|
@ -26,6 +26,7 @@ extern void test_BoardFull_returns_true_when_board_is_full(void); |
|
|
extern void test_CurrentPlayer_returns_correct_player(void); |
|
|
extern void test_CurrentPlayer_returns_correct_player(void); |
|
|
extern void test_FieldEmpty_returns_true_for_empty_field(void); |
|
|
extern void test_FieldEmpty_returns_true_for_empty_field(void); |
|
|
extern void test_FieldEmpty_returns_false_for_nonempty_field(void); |
|
|
extern void test_FieldEmpty_returns_false_for_nonempty_field(void); |
|
|
|
|
|
extern void test_calculate_mines_HeightWidthOne(void); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*=======Mock Management=====*/ |
|
|
/*=======Mock Management=====*/ |
|
@ -106,6 +107,7 @@ int main(void) |
|
|
run_test(test_CurrentPlayer_returns_correct_player, "test_CurrentPlayer_returns_correct_player", 189); |
|
|
run_test(test_CurrentPlayer_returns_correct_player, "test_CurrentPlayer_returns_correct_player", 189); |
|
|
run_test(test_FieldEmpty_returns_true_for_empty_field, "test_FieldEmpty_returns_true_for_empty_field", 202); |
|
|
run_test(test_FieldEmpty_returns_true_for_empty_field, "test_FieldEmpty_returns_true_for_empty_field", 202); |
|
|
run_test(test_FieldEmpty_returns_false_for_nonempty_field, "test_FieldEmpty_returns_false_for_nonempty_field", 215); |
|
|
run_test(test_FieldEmpty_returns_false_for_nonempty_field, "test_FieldEmpty_returns_false_for_nonempty_field", 215); |
|
|
|
|
|
run_test(test_calculate_mines_HeightWidthOne, "test_calculate_mines_HeightWidthOne", 228); |
|
|
|
|
|
|
|
|
return UnityEnd(); |
|
|
return UnityEnd(); |
|
|
} |
|
|
} |