|
@ -32,4 +32,10 @@ void test_CheckForWin_Horizontal_7_8_9(void) { |
|
|
TEST_ASSERT(checkForWin(1, 2, 3, 4, 5, 6, 11, 11, 11, 11) == 1); |
|
|
TEST_ASSERT(checkForWin(1, 2, 3, 4, 5, 6, 11, 11, 11, 11) == 1); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Testfall für die Funktion checkForWin - Vertikaler Sieg |
|
|
|
|
|
void test_CheckForWin_Vertical_1_4_7(void) { |
|
|
|
|
|
// Teste vertikalen Sieg in der ersten Spalte |
|
|
|
|
|
TEST_ASSERT(checkForWin(10, 2, 3, 10, 5, 6, 10, 8, 9, 10) == 1); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
#endif // TEST |
|
|
#endif // TEST |