Ejemplo n.º 1
0
def test_room_flee_success(cards):
    r = Room(cards)
    assert set(r.flee()) == set(cards)
Ejemplo n.º 2
0
def test_room_flee_failure(cards):
    r = Room(cards, player_escaped_previous_room=True)
    assert r.flee() == None