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
def test_Can_Get_Empty_Result_If_Result_Not_Set(): a = Animation([]) r = a.GetResult() # What can we do to test if result is empty? assert r.indicatesChange == False