def test_room_flee_success(cards): r = Room(cards) assert set(r.flee()) == set(cards)
def test_room_flee_failure(cards): r = Room(cards, player_escaped_previous_room=True) assert r.flee() == None