def test_x_first_move(self): """ Tests that X moves first given a blank board """ board = [[None, None, None], [None, None, None], [None, None, None]] self.assertEqual(char_move_order(board), (x_char, o_char))
def test_o_second_move(self): """ Tests that O moves next after X """ board = [[None, None, None], [None, None, None], [None, x_char, None]] self.assertEqual(char_move_order(board), (o_char, x_char))