1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

Add test coverage

This commit is contained in:
Dean Herbert 2019-10-04 11:25:23 +08:00
parent 71985c7ef1
commit e646b2677c

View File

@ -127,6 +127,15 @@ namespace osu.Game.Tests.Visual.Gameplay
exitAndConfirm();
}
[Test]
public void TestExitFromFailedGameplay()
{
AddUntilStep("wait for fail", () => Player.HasFailed);
AddStep("exit", () => Player.Exit());
confirmExited();
}
[Test]
public void TestExitFromGameplay()
{