Exemplo n.º 1
0
def test_Can_Get_Result_After_It_Is_Set():
    a = Animation([])
    a.SetResult(Rect(1, 2, 3, 4), 1, True)
    r = a.GetResult()
    assert r.area == Rect(1, 2, 3, 4)
    assert r.statusType == 1
    assert r.statusEnabled == True
Exemplo n.º 2
0
def test_Can_Set_And_Get_Animation_Result():
    a = Animation([])
    a.SetResult(Rect(25, 50, 10, 10), 1, True)