|
@ -32,6 +32,10 @@ extern void test_calculate_mines_NormalCase(void); |
|
|
extern void test_end_check_AllUncovered_NoMines(void); |
|
|
extern void test_end_check_AllUncovered_NoMines(void); |
|
|
extern void test_create_minefield_ValidDimensions(void); |
|
|
extern void test_create_minefield_ValidDimensions(void); |
|
|
extern void test_calculate_mines_HeightOne(void); |
|
|
extern void test_calculate_mines_HeightOne(void); |
|
|
|
|
|
extern void test_create_minefield_NegativeDimensions(void); |
|
|
|
|
|
extern void test_calculate_mines_HeightZero(void); |
|
|
|
|
|
extern void test_calculate_mines_HeightWidthNumber(void); |
|
|
|
|
|
extern void test_calculate_mines_HeightWidthAgan(void); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*=======Mock Management=====*/ |
|
|
/*=======Mock Management=====*/ |
|
@ -118,6 +122,10 @@ int main(void) |
|
|
run_test(test_end_check_AllUncovered_NoMines, "test_end_check_AllUncovered_NoMines", 270); |
|
|
run_test(test_end_check_AllUncovered_NoMines, "test_end_check_AllUncovered_NoMines", 270); |
|
|
run_test(test_create_minefield_ValidDimensions, "test_create_minefield_ValidDimensions", 289); |
|
|
run_test(test_create_minefield_ValidDimensions, "test_create_minefield_ValidDimensions", 289); |
|
|
run_test(test_calculate_mines_HeightOne, "test_calculate_mines_HeightOne", 314); |
|
|
run_test(test_calculate_mines_HeightOne, "test_calculate_mines_HeightOne", 314); |
|
|
|
|
|
run_test(test_create_minefield_NegativeDimensions, "test_create_minefield_NegativeDimensions", 328); |
|
|
|
|
|
run_test(test_calculate_mines_HeightZero, "test_calculate_mines_HeightZero", 342); |
|
|
|
|
|
run_test(test_calculate_mines_HeightWidthNumber, "test_calculate_mines_HeightWidthNumber", 356); |
|
|
|
|
|
run_test(test_calculate_mines_HeightWidthAgan, "test_calculate_mines_HeightWidthAgan", 370); |
|
|
|
|
|
|
|
|
return UnityEnd(); |
|
|
return UnityEnd(); |
|
|
} |
|
|
} |