def test_timer_CalcFinish(self): tmr = Timer() tmr.Time = [23,1,2,3] tmr.Length = [1,0,0,0] tmr.CalcFinish() self.assertEqual(tmr.Finish, [0,1,2,3])