mirror of https://github.com/ppy/osu
Update asserts in line with framework changes to `PlaybackPosition`
This commit is contained in:
parent
a42527b8f5
commit
91a48084c7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue