|
@ -27,6 +27,7 @@ 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); |
|
|
extern void test_calculate_mines_HeightWidthOne(void); |
|
|
|
|
|
extern void test_calculate_mines_WidthOne(void); |
|
|
extern void test_calculate_mines_HeightOne(void); |
|
|
extern void test_calculate_mines_HeightOne(void); |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -109,7 +110,8 @@ int main(void) |
|
|
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); |
|
|
run_test(test_calculate_mines_HeightWidthOne, "test_calculate_mines_HeightWidthOne", 228); |
|
|
run_test(test_calculate_mines_HeightOne, "test_calculate_mines_HeightOne", 242); |
|
|
|
|
|
|
|
|
run_test(test_calculate_mines_WidthOne, "test_calculate_mines_WidthOne", 242); |
|
|
|
|
|
run_test(test_calculate_mines_HeightOne, "test_calculate_mines_HeightOne", 256); |
|
|
|
|
|
|
|
|
return UnityEnd(); |
|
|
return UnityEnd(); |
|
|
} |
|
|
} |