mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:12:57 +08:00
Use AddUntilStep whenever possible
Avoid redundant usage
This commit is contained in:
parent
e12e3391fb
commit
2c012b9af1
@ -60,9 +60,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
AddStep("seek to completion again", () => track.Seek(5000));
|
AddStep("seek to completion again", () => track.Seek(5000));
|
||||||
AddUntilStep("completion set by processor", () => Player.ScoreProcessor.HasCompleted.Value);
|
AddUntilStep("completion set by processor", () => Player.ScoreProcessor.HasCompleted.Value);
|
||||||
|
|
||||||
AddWaitStep("wait", 5);
|
AddUntilStep("attempted to push ranking", () => ((FakeRankingPushPlayer)Player).GotoRankingInvoked);
|
||||||
|
|
||||||
AddAssert("attempted to push ranking", () => ((FakeRankingPushPlayer)Player).GotoRankingInvoked);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user