def test_vertical(self):
        board = Board()

        board.spots[2][2] = "R"
        board.spots[2][3] = "R"
        board.spots[2][4] = "R"
        board.spots[2][5] = "R"

        self.assertEqual(board.get_game_result(), "R",
                         "Vertical wins are not being found correctly.")
    def test_diagonal_up_left(self):
        board = Board()

        board.spots[2][5] = "R"
        board.spots[3][4] = "R"
        board.spots[4][3] = "R"
        board.spots[5][2] = "R"

        self.assertEqual(board.get_game_result(), "R",
                         "Diagonal (\) wins are not being found correctly.")
    def test_diagonal_up_left(self):
        board = Board()

        board.spots[2][5] = "R"
        board.spots[3][4] = "R"
        board.spots[4][3] = "R"
        board.spots[5][2] = "R"

        self.assertEqual(board.get_game_result(), "R",
                         "Diagonal (\) wins are not being found correctly.")
    def test_vertical(self):
        board = Board()

        board.spots[2][2] = "R"
        board.spots[2][3] = "R"
        board.spots[2][4] = "R"
        board.spots[2][5] = "R"

        self.assertEqual(board.get_game_result(), "R",
                         "Vertical wins are not being found correctly.")
    def test_horizontal_third_row(self):
        board = Board()

        board.spots[2][2] = "R"
        board.spots[3][2] = "R"
        board.spots[4][2] = "R"
        board.spots[5][2] = "R"

        self.assertEqual(board.get_game_result(), "R",
                         "Horizontal wins are not being found correctly in " +
                         "the third row.")
    def test_horizontal_black(self):
        board = Board()

        board.spots[2][0] = "B"
        board.spots[3][0] = "B"
        board.spots[4][0] = "B"
        board.spots[5][0] = "B"

        self.assertEqual(board.get_game_result(), "B",
                         "Horizontal black wins are not being found " +
                         "correctly in the first row.")
    def test_horizontal_third_row(self):
        board = Board()

        board.spots[2][2] = "R"
        board.spots[3][2] = "R"
        board.spots[4][2] = "R"
        board.spots[5][2] = "R"

        self.assertEqual(
            board.get_game_result(), "R",
            "Horizontal wins are not being found correctly in " +
            "the third row.")
    def test_horizontal_black(self):
        board = Board()

        board.spots[2][0] = "B"
        board.spots[3][0] = "B"
        board.spots[4][0] = "B"
        board.spots[5][0] = "B"

        self.assertEqual(
            board.get_game_result(), "B",
            "Horizontal black wins are not being found " +
            "correctly in the first row.")