Exemplo n.º 1
0
 def test_poker_three_of_a_kind_3(self):
     '''Test Case poker_three_of_a_kind 3 '''
     actual = poker.three_of_a_kind(['6D', '7C', '9C', '8C', '7C'])
     expected = False
     self.assertEqual(actual, expected)
Exemplo n.º 2
0
 def test_poker_example_41(self):
     tk = ["6S", "KH", "5D", "5C", "5S"]
     actual = poker.three_of_a_kind(tk)
     expected = True
     self.assertEqual(actual, expected)
Exemplo n.º 3
0
 def test_poker_three_of_a_kind_2(self):
     '''Test Case poker_three_of_a_kind 2 '''
     actual = poker.three_of_a_kind(['7D', '7C', '7C', '7C', '7C'])
     expected = True
     self.assertEqual(actual, expected)
Exemplo n.º 4
0
 def test_poker_example_28(self):
     tp = ["5S", "5H", "6D", "6C", "KS"]
     actual = poker.three_of_a_kind(tp)
     expected = False
     self.assertEqual(actual, expected)
Exemplo n.º 5
0
 def test_poker_example_29(self):
     op = ["AS", "5H", "TD", "6C", "6S"]
     actual = poker.three_of_a_kind(op)
     expected = False
     self.assertEqual(actual, expected)
Exemplo n.º 6
0
 def test_poker_example_27(self):
     tk = ["3S", "3H", "3D", "4C", "KS"]
     actual = poker.three_of_a_kind(tk)
     expected = True
     self.assertEqual(actual, expected)
Exemplo n.º 7
0
 def test_poker_example_26(self):
     fk = ["4S", "4H", "4D", "4C", "KS"]
     actual = poker.three_of_a_kind(fk)
     expected = False
     self.assertEqual(actual, expected)
Exemplo n.º 8
0
 def test_poker_example_21(self):
     fk = ["5S", "5H", "5D", "5C", "KS"]
     actual = poker.three_of_a_kind(fk)
     expected = False
     self.assertEqual(actual, expected)
 def test_poker_three_of_a_kind_3(self):
     '''Test Case poker_three_of_a_kind 3 '''
     actual = poker.three_of_a_kind(['6D', '7C', '9C', '8C', '7C'])
     expected = False
     self.assertEqual(actual, expected)
Exemplo n.º 10
0
 def test_poker_three_of_a_kind_2(self):
     '''Test Case poker_three_of_a_kind 2 '''
     actual = poker.three_of_a_kind(['7D', '7C', '7C', '7C', '7C'])
     expected = True
     self.assertEqual(actual, expected)