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:
parent
71985c7ef1
commit
e646b2677c
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user