Beispiel #1
0
def test_has_owner():
    p = Player(0)
    r = RealState(50, 5, owner=p)
    assert r.has_owner() == True
Beispiel #2
0
def test_foreclose():
    p = Player(0)
    r = RealState(50, 5, owner=p)

    r.foreclose()
    assert r.has_owner() == False
Beispiel #3
0
def test_not_has_owner():
    r = RealState(50, 5)
    assert r.has_owner() == False