You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -147,7 +147,7 @@ public void NeverInterpolatesBackwardsOnInterpolationFail()
147
147
interpolatedCount++;
148
148
149
149
Assert.GreaterOrEqual(interpolating.CurrentTime,lastValue,"Interpolating should not jump against rate.");
150
-
Assert.LessOrEqual(Math.Abs(interpolating.CurrentTime-source.CurrentTime),interpolating.AllowableErrorMilliseconds,"Interpolating should be within allowance.");
150
+
Assert.LessOrEqual(Math.Abs(interpolating.CurrentTime-source.CurrentTime),interpolating.AllowableErrorMilliseconds*source.Rate,"Interpolating should be within allowance.");
151
151
152
152
Thread.Sleep(sleep_time);
153
153
lastValue=interpolating.CurrentTime;
@@ -179,7 +179,7 @@ public void CanSeekForwardsOnInterpolationFail()
179
179
180
180
if(skipSourceForwards)// seek forward once at a random point.
@@ -194,7 +194,7 @@ public void CanSeekForwardsOnInterpolationFail()
194
194
interpolatedCount++;
195
195
196
196
Assert.GreaterOrEqual(interpolating.CurrentTime,lastValue,"Interpolating should not jump against rate.");
197
-
Assert.LessOrEqual(Math.Abs(interpolating.CurrentTime-source.CurrentTime),interpolating.AllowableErrorMilliseconds,"Interpolating should be within allowance.");
197
+
Assert.LessOrEqual(Math.Abs(interpolating.CurrentTime-source.CurrentTime),interpolating.AllowableErrorMilliseconds*source.Rate,"Interpolating should be within allowance.");
198
198
199
199
Thread.Sleep(sleep_time);
200
200
lastValue=interpolating.CurrentTime;
@@ -225,7 +225,7 @@ public void CanSeekBackwards()
0 commit comments