Update asserts in line with framework changes to `PlaybackPosition`

This commit is contained in:
Dean Herbert 2021-09-07 17:25:03 +09:00
parent a42527b8f5
commit 91a48084c7
1 changed files with 2 additions and 2 deletions

View File

@ -40,10 +40,10 @@ public void TestAnimationTimeReferenceChange()
assertPlaybackPosition(0);
AddStep("set start time to 1000", () => animationTimeReference.AnimationStartTime.Value = 1000);
assertPlaybackPosition(-1000);
assertPlaybackPosition(0);
AddStep("set current time to 500", () => animationTimeReference.ManualClock.CurrentTime = 500);
assertPlaybackPosition(-500);
assertPlaybackPosition(0);
}
private void assertPlaybackPosition(double expectedPosition)