mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Update asserts in line with framework changes to PlaybackPosition
This commit is contained in:
@ -40,10 +40,10 @@ namespace osu.Game.Tests.NonVisual.Skinning
|
|||||||
assertPlaybackPosition(0);
|
assertPlaybackPosition(0);
|
||||||
|
|
||||||
AddStep("set start time to 1000", () => animationTimeReference.AnimationStartTime.Value = 1000);
|
AddStep("set start time to 1000", () => animationTimeReference.AnimationStartTime.Value = 1000);
|
||||||
assertPlaybackPosition(-1000);
|
assertPlaybackPosition(0);
|
||||||
|
|
||||||
AddStep("set current time to 500", () => animationTimeReference.ManualClock.CurrentTime = 500);
|
AddStep("set current time to 500", () => animationTimeReference.ManualClock.CurrentTime = 500);
|
||||||
assertPlaybackPosition(-500);
|
assertPlaybackPosition(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void assertPlaybackPosition(double expectedPosition)
|
private void assertPlaybackPosition(double expectedPosition)
|
||||||
|
Reference in New Issue
Block a user