mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +08:00
Add further test logic to ensure retry / restart flow is working correctly
This commit is contained in:
parent
a59ea987b7
commit
7dd3a748be
@ -134,8 +134,16 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
start();
|
||||
sendFrames();
|
||||
|
||||
waitForPlayer();
|
||||
|
||||
Player lastPlayer = null;
|
||||
AddStep("store first player", () => lastPlayer = player);
|
||||
|
||||
start();
|
||||
sendFrames();
|
||||
|
||||
waitForPlayer();
|
||||
AddAssert("player is different", () => lastPlayer != player);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Loading…
Reference in New Issue
Block a user