def test_HandType_straight_low(self): x = PokerHand(['SA', 'D2', 'H3', 'C4', 'S5']) self.assertEqual(str(x.get_hand_type()), "HandType.Straight")
def test_HandType_high_card(self): x = PokerHand(['SA', 'C3', 'SQ', 'SJ', 'ST']) self.assertEqual(str(x.get_hand_type()), "HandType.HighC")
def test_HandType_straight_flush_low(self): x = PokerHand(['SA', 'S2', 'S3', 'S4', 'S5']) self.assertEqual(str(x.get_hand_type()), "HandType.FiveSF")
def test_HandType_two_pair(self): x = PokerHand(['SA', 'DA', 'SQ', 'DQ', 'CT']) self.assertEqual(str(x.get_hand_type()), "HandType.TwoP")
def test_HandType_pair(self): x = PokerHand(['SA', 'SK', 'SQ', 'DQ', 'ST']) self.assertEqual(str(x.get_hand_type()), "HandType.OneP")
def test_HandType_straight(self): x = PokerHand(['SA', 'SK', 'SQ', 'SJ', 'DT']) self.assertEqual(str(x.get_hand_type()), "HandType.Straight")
def test_HandType_trip(self): x = PokerHand(['SA', 'DA', 'HA', 'SJ', 'ST']) self.assertEqual(str(x.get_hand_type()), "HandType.Trip")
def test_HandType_flush(self): x = PokerHand(['SA', 'SK', 'SQ', 'SJ', 'S4']) self.assertEqual(str(x.get_hand_type()), "HandType.Flush")
def test_HandType_full_house(self): x = PokerHand(['SA', 'SA', 'HA', 'DT', 'ST']) self.assertEqual(str(x.get_hand_type()), "HandType.FullH")
def test_HandType_four_of_a_kind(self): x = PokerHand(['SA', 'SA', 'DA', 'CA', 'ST']) self.assertEqual(str(x.get_hand_type()), "HandType.FourK")
def test_HandType_straight_flush(self): x = PokerHand(['SA', 'SK', 'SQ', 'SJ', 'ST']) self.assertEqual(str(x.get_hand_type()), "HandType.FiveSF")
def test_HandType_five_of_a_kind(self): x = PokerHand(['SA', 'SA', 'HA', 'CA', 'DA']) self.assertEqual(str(x.get_hand_type()), "HandType.FiveK")