def test_room_completed(cards): r = Room(cards) r.select_card('j') r.select_card('k') r.select_card('l') r.select_card(';') assert r.completed() == True
def test_room_not_completed(cards): r = Room(cards) r.select_card(';') assert r.completed() == False