Example #1
0
def test_room_previous_escaped(cards):
    r = Room(cards, player_escaped_previous_room=True)
    assert r.escapable() == False
    r.select_card('k')
    r.select_card('l')
    assert r.escapable() == True
Example #2
0
def test_room_escapable(cards):
    r = Room(cards, player_escaped_previous_room=False)
    assert r.escapable() == True