示例#1
0
def test_get_supply_card_when_final_attack():
    gs = GameState()
    gs.final_attack = True
    gs.last_supplies_taken = True
    gs.prepare_supply_deck()
    card = gs.get_supply_card()
    assert card is None
示例#2
0
def test_prepare_supply_deck():
    gs = GameState()
    gs.prepare_supply_deck()
    assert len(gs.supply_deck) == 55