Ejemplo n.º 1
0
def test_cat_and_owner_not_moved_this_turn_when_false():
    owner_and_cat = {
        'owner': [1, 2, 3]
    }
    turn = 4

    assert not players._cat_and_owner_moved_this_turn(owner_and_cat, turn)
Ejemplo n.º 2
0
def test_cat_and_owner_moved_this_turn_when_true():
    owner_and_cat = {
        'owner': [1, 2]
    }
    turn = 1

    assert players._cat_and_owner_moved_this_turn(owner_and_cat, turn)