def test_isHorizontalWin_Fail(self):
     """Testing the isHorizontalWin method.
     We put random Yellow and Red pieces in the board. We expect
     the method to return False and use the assertTrue method
     to verify our expectations."""
     board2 = [' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','Y','R','Y','Y','R','Y','R']
     result2 = False
     self.assertTrue(result2 == Win_Logic_Connect4.isHorizontalWin(board2,'R'))
 def test_isHorizontalWin_Pass(self):
     """Testing the isHorizontalWin method.
     We put four Red pieces in the last row of the board list. We expect
     the method to return True and use the assertEquals method
     to verify our expectations."""
     board1 = [' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','Y','Y','Y','R','R','R','R']
     result1 = True
     self.assertEqual(result1,Win_Logic_Connect4.isHorizontalWin(board1,'R'))