def test_has_less_than_x_of_resource_type(self): player = Player() player_hand = PlayerHand(player=player) player_hand.hand[Clay] = 2 assert not player_hand.has(resource_type=Clay, count=3)
def test_has_at_least_x_of_resource_type(self): player = Player() player_hand = PlayerHand(player=player) player_hand.hand[Clay] = 2 assert player_hand.has(resource_type=Clay, count=2)