def setUp(self) -> None: self.quad_ace = create_mock_cards(( 'Diamond A', 'Club A', 'Spade A', 'Heart K', 'Heart A' )) self.ace_full_house = create_mock_cards(( 'Diamond A', 'Club A', 'Spade A', 'Heart K', 'Diamond K' )) self.ace_flush = create_mock_cards(( 'Heart A', 'Heart K', 'Heart Q', 'Heart J', 'Heart 9' )) self.low_straight_flush = create_mock_cards(( 'Club 2', 'Club 3', 'Club 4', 'Club 5', 'Club 6' )) self.broadway = create_mock_cards(( 'Diamond A', 'Club K', 'Spade Q', 'Heart J', 'Diamond 10' )) self.wheel_flush = create_mock_cards(( 'Club A', 'Club 2', 'Club 3', 'Club 4', 'Club 5' )) self.diamond_straight_six_flush = create_mock_cards(( 'Diamond 6', 'Diamond 2', 'Diamond 3', 'Diamond 4', 'Diamond 5' )) self.straight_queen_flush = create_mock_cards(( 'Heart Q', 'Heart 8', 'Heart J', 'Heart 10', 'Heart 9' )) self.straight_King_flush = create_mock_cards(( 'Heart Q', 'Heart K', 'Heart J', 'Heart 10', 'Heart 9' )) self.royal_flush = create_mock_cards(( 'Spade Q', 'Spade K', 'Spade J', 'Spade 10', 'Spade A' ))
def setUp(self) -> None: self.triple_ace = create_mock_cards( ('Diamond A', 'Club A', 'Spade A', 'Heart K', 'Diamond Q')) self.wheel = create_mock_cards( ('Diamond A', 'Club 2', 'Spade 3', 'Heart 4', 'Diamond 5')) self.ace_flush = create_mock_cards( ('Heart A', 'Heart K', 'Heart Q', 'Heart J', 'Heart 9')) self.low_flush = create_mock_cards( ('Club 2', 'Club 3', 'Club 4', 'Club 5', 'Club 7')) self.broadway = create_mock_cards( ('Diamond A', 'Club K', 'Spade Q', 'Heart J', 'Diamond 10'))
def setUp(self) -> None: self.triple_ace = create_mock_cards( ('Diamond A', 'Club A', 'Spade A', 'Heart K', 'Diamond Q')) self.wheel = create_mock_cards( ('Diamond A', 'Club 2', 'Spade 3', 'Heart 4', 'Diamond 5')) self.six_straight = create_mock_cards( ('Diamond 2', 'Club 3', 'Spade 4', 'Heart 5', 'Diamond 6')) self.king_straight = create_mock_cards( ('Diamond K', 'Club Q', 'Spade J', 'Heart 10', 'Diamond 9')) self.broadway = create_mock_cards( ('Diamond A', 'Club K', 'Spade Q', 'Heart J', 'Diamond 10'))
def setUp(self) -> None: self.ace_king_high = create_mock_cards( ('Club K', 'Spade 2', 'Diamond 3', 'Diamond 4', 'Heart A')) self.double_ace = create_mock_cards( ('Club A', 'Spade 2', 'Diamond J', 'Diamond 4', 'Heart A')) self.double_ace_similar = create_mock_cards( ('Diamond A', 'Club J', 'Spade A', 'Heart 4', 'Diamond 2')) self.double_ace_king_high = create_mock_cards( ('Diamond K', 'Club A', 'Spade 3', 'Heart A', 'Diamond 6')) self.double_King_Queen_high = create_mock_cards( ('Diamond K', 'Club Q', 'Spade K', 'Heart J', 'Diamond 10')) self.double_ace_low = create_mock_cards( ('Diamond 2', 'Club A', 'Spade 3', 'Heart 4', 'Diamond A')) self.double_5 = create_mock_cards( ('Diamond 5', 'Club 2', 'Spade 3', 'Heart 5', 'Diamond 7')) self.double_2 = create_mock_cards( ('Diamond 2', 'Club 2', 'Spade 3', 'Heart 5', 'Diamond 7')) self.double_5_ace_high = create_mock_cards( ('Diamond 5', 'Club 2', 'Spade 3', 'Heart 5', 'Diamond A')) self.double_J = create_mock_cards( ('Diamond J', 'Club 2', 'Spade 3', 'Diamond 5', 'Heart J'))
def setUp(self) -> None: self.double_ace = create_mock_cards( ('Club A', 'Spade 2', 'Diamond J', 'Diamond 4', 'Heart A')) self.two_pair_2_and_5 = create_mock_cards( ('Diamond 3', 'Club 5', 'Spade 5', 'Heart 2', 'Diamond 2')) self.two_pair_2_and_5_ace_high = create_mock_cards( ('Diamond A', 'Club 5', 'Spade 5', 'Heart 2', 'Diamond 2')) self.two_pair_10_and_8 = create_mock_cards( ('Diamond K', 'Club 8', 'Spade 10', 'Heart 10', 'Diamond 8')) self.two_pair_J_and_2 = create_mock_cards( ('Diamond 2', 'Club 2', 'Spade J', 'Heart J', 'Diamond 3')) self.two_pair_A_and_K = create_mock_cards( ('Diamond A', 'Club A', 'Spade K', 'Heart K', 'Diamond 7')) self.two_pair_2_and_3 = create_mock_cards( ('Diamond 2', 'Club 2', 'Spade 3', 'Heart 5', 'Diamond 3')) self.two_pair_2_and_3_similar = create_mock_cards( ('Heart 2', 'Diamond 3', 'Heart 3', 'Spade 2', 'Spade 5'))
def setUp(self) -> None: self.triple_ace = create_mock_cards( ('Diamond A', 'Club A', 'Spade A', 'Heart 2', 'Diamond Q')) self.ace_full_house = create_mock_cards( ('Diamond A', 'Club A', 'Spade A', 'Heart 2', 'Diamond 2')) self.K_Q_full_house = create_mock_cards( ('Diamond K', 'Club K', 'Spade K', 'Heart Q', 'Diamond Q')) self.triple_2_10_full_house = create_mock_cards( ('Diamond 2', 'Club 2', 'Spade 2', 'Heart 10', 'Diamond 10')) self.triple_3_4_full_house = create_mock_cards( ('Diamond 3', 'Club 3', 'Spade 3', 'Heart 4', 'Diamond 4')) self.flush = create_mock_cards( ('Diamond A', 'Diamond K', 'Diamond Q', 'Diamond J', 'Diamond 9')) self.straight = create_mock_cards( ('Diamond 10', 'Club J', 'Spade Q', 'Heart K', 'Diamond A'))
def setUp(self) -> None: self.two_pair_A_and_K = create_mock_cards( ('Diamond A', 'Club A', 'Spade K', 'Heart K', 'Diamond Q')) self.triple_ace = create_mock_cards( ('Diamond A', 'Club A', 'Spade A', 'Heart 2', 'Diamond Q')) self.triple_king = create_mock_cards( ('Diamond K', 'Club K', 'Spade K', 'Heart Q', 'Diamond J')) self.triple_2 = create_mock_cards( ('Diamond 2', 'Club 2', 'Spade 2', 'Heart 10', 'Diamond 8')) self.triple_2_ace_high = create_mock_cards( ('Diamond 2', 'Club 2', 'Spade 2', 'Heart A', 'Diamond Q')) self.triple_3 = create_mock_cards( ('Diamond 3', 'Club 3', 'Spade 3', 'Heart 5', 'Diamond 4'))
def setUp(self) -> None: self.heart_ace_king_high = create_mock_cards(( 'Club K', 'Spade 2', 'Diamond 3', 'Diamond 4', 'Heart A' )) self.diamond_ace_king_high = create_mock_cards(( 'Diamond K', 'Club 2', 'Spade 3', 'Heart 4', 'Diamond A' )) self.diamond_ace_queen_high = create_mock_cards(( 'Diamond Q', 'Club 2', 'Spade 3', 'Heart 4', 'Diamond A' )) self.king_queen_high = create_mock_cards(( 'Diamond K', 'Club Q', 'Spade 10', 'Heart 9', 'Diamond 7' )) self.ace_6_high = create_mock_cards(( 'Diamond A', 'Club 2', 'Spade 3', 'Heart 4', 'Diamond 6' )) self.lowest_rank = create_mock_cards(( 'Diamond 5', 'Club 2', 'Spade 3', 'Heart 4', 'Diamond 7' ))
def setUp(self) -> None: self.triple_ace = create_mock_cards(( 'Diamond A', 'Club A', 'Spade A', 'Heart 2', 'Diamond Q' )) self.ace_king_full_house = create_mock_cards(( 'Diamond A', 'Club A', 'Spade A', 'Heart K', 'Diamond K' )) self.quad_king = create_mock_cards(( 'Diamond K', 'Club K', 'Spade K', 'Heart K', 'Diamond 4' )) self.quad_queen = create_mock_cards(( 'Diamond Q', 'Club Q', 'Spade Q', 'Heart 3', 'Diamond Q' )) self.quad_3 = create_mock_cards(( 'Diamond 3', 'Club 3', 'Spade 3', 'Heart 3', 'Diamond J' )) self.quad_2 = create_mock_cards(( 'Diamond 2', 'Club 2', 'Spade 2', 'Heart 12', 'Diamond A' ))