mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 15:33:05 +08:00
Add assert ensuring player resumed properly
This commit is contained in:
parent
fe5e45ea81
commit
f6c279ab00
@ -53,6 +53,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
AddStep("set active", () => ((Bindable<bool>)host.IsActive).Value = true);
|
||||
|
||||
AddStep("resume player", () => Player.Resume());
|
||||
AddAssert("unpaused", () => !Player.GameplayClockContainer.IsPaused.Value);
|
||||
|
||||
bool pauseCooldownActive = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user