def test_scissors_wins_over_paper_2(self): game = PaperRockScissors() result = game.winnerComprover(1, 3) self.assertEqual("Player 2 wins", result)
def test_rock_wins_over_scissors(self): game = PaperRockScissors() result = game.winnerComprover(2,3) self.assertEqual("Player 1 wins", result)
def test_draw_3(self): game = PaperRockScissors() result = game.winnerComprover(3,3) self.assertEqual("Empate", result)
def test_admit_valid_numbers_2(self): game = PaperRockScissors() result = game.inputComprover(1) self.assertEqual(True, result)
def test_dont__admit_numbers_out_of_rules_2(self): game = PaperRockScissors() result = game.inputComprover(4) self.assertEqual(False, result)
def test_dont__admit_letters(self): game = PaperRockScissors() result = game.inputComprover('a') self.assertEqual(False, result)