1
0
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:
Salman Ahmed 2021-02-19 11:45:45 +03:00
parent fe5e45ea81
commit f6c279ab00

View File

@ -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;