mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:03:21 +08:00
Add test to known time
This commit is contained in:
parent
855185ca85
commit
062fd58602
@ -91,6 +91,14 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
AddStep("stop", gameplayClockContainer.Stop);
|
AddStep("stop", gameplayClockContainer.Stop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void TestSeekToKnownTime()
|
||||||
|
{
|
||||||
|
AddStep("seek to known time", () => gameplayClockContainer.Seek(60000));
|
||||||
|
AddWaitStep("wait some for seek", 15);
|
||||||
|
AddStep("stop", () => gameplayClockContainer.Stop());
|
||||||
|
}
|
||||||
|
|
||||||
private void applyToArgonProgress(Action<ArgonSongProgress> action) =>
|
private void applyToArgonProgress(Action<ArgonSongProgress> action) =>
|
||||||
this.ChildrenOfType<ArgonSongProgress>().ForEach(action);
|
this.ChildrenOfType<ArgonSongProgress>().ForEach(action);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user