@ -1,4 +1,6 @@
#ifndef TICTACTOE_H
#define TICTACTOE_H
int switchPlayer(int currentPlayer);
#endif // TICTACTOE_H
@ -0,0 +1,19 @@
#ifdef TEST
#include "unity.h"
#include "TicTacToe.h"
void setUp(void)
{
}
void tearDown(void)
void test_switchPlayer_10_to_11(void) {
TEST_ASSERT(switchPlayer(10) == 11);
#endif // TEST