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()
{