def test_variant_5(self): """""" temp_deck = deck.PinochleDeck(build=False) temp_deck += [card.PinochleCard("King", "Spades")] temp_deck += [card.PinochleCard("King", "Hearts")] temp_deck += [card.PinochleCard("King", "Hearts")] temp_deck += [card.PinochleCard("10", "Hearts")] temp_deck += [card.PinochleCard("King", "Diamonds")] temp_deck += [card.PinochleCard("King", "Clubs")] assert score_tricks.score(temp_deck) == 6
def test_variant_8(self): """""" temp_deck = deck.PinochleDeck(build=False) temp_deck += [card.PinochleCard("Ace", "Hearts")] temp_deck += [card.PinochleCard("Jack", "Hearts")] temp_deck += [card.PinochleCard("Queen", "Hearts")] temp_deck += [card.PinochleCard("10", "Hearts")] temp_deck += [card.PinochleCard("King", "Hearts")] temp_deck += [card.PinochleCard("10", "Clubs")] assert score_tricks.score(temp_deck) == 4
def test_score_deck(self): """""" temp_deck = deck.PinochleDeck(build=True) assert score_tricks.score(temp_deck) == 12