Пример #1
0
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
Пример #2
0
def test_room_not_completed(cards):
    r = Room(cards)
    r.select_card(';')
    assert r.completed() == False