1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Replace no-op seeks with wait steps

This commit is contained in:
Bartłomiej Dach 2021-10-12 18:31:20 +02:00
parent 56eae703fe
commit 8dcfc3dd7e
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -104,7 +104,7 @@ namespace osu.Game.Tests.Visual.Gameplay
}
[Test]
public void TestSeekToSameTimePreservesRate()
public void TestRatePreservedWhenTimeNotProgressing()
{
AddStep("set manual clock rate", () => manualClock.Rate = 1);
seekManualTo(5000);
@ -114,13 +114,13 @@ namespace osu.Game.Tests.Visual.Gameplay
seekManualTo(10000);
checkRate(1);
seekManualTo(10000);
AddWaitStep("wait some", 3);
checkRate(1);
seekManualTo(5000);
checkRate(-1);
seekManualTo(5000);
AddWaitStep("wait some", 3);
checkRate(-1);
seekManualTo(10000);