|
@ -16,4 +16,10 @@ void test_switchPlayer_10_to_11(void) { |
|
|
TEST_ASSERT(switchPlayer(10) == 11); |
|
|
TEST_ASSERT(switchPlayer(10) == 11); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Testfall für die Funktion checkForWin - Horizontaler Sieg |
|
|
|
|
|
void test_CheckForWin_Horizontal_1_2_3(void) { |
|
|
|
|
|
// Teste horizontalen Sieg in der ersten Zeile |
|
|
|
|
|
TEST_ASSERT(checkForWin(10, 10, 10, 4, 5, 6, 7, 8, 9, 10) == 1); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
#endif // TEST |
|
|
#endif // TEST |