コード例 #1
0
ファイル: test_players.py プロジェクト: mallison/herdcats
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)
コード例 #2
0
ファイル: test_players.py プロジェクト: mallison/herdcats
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)