mirror of
https://github.com/osukey/osukey.git
synced 2025-07-09 20:29:57 +09:00
Add further test logic to ensure retry / restart flow is working correctly
This commit is contained in:
@ -134,8 +134,16 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
start();
|
start();
|
||||||
sendFrames();
|
sendFrames();
|
||||||
|
|
||||||
|
waitForPlayer();
|
||||||
|
|
||||||
|
Player lastPlayer = null;
|
||||||
|
AddStep("store first player", () => lastPlayer = player);
|
||||||
|
|
||||||
start();
|
start();
|
||||||
sendFrames();
|
sendFrames();
|
||||||
|
|
||||||
|
waitForPlayer();
|
||||||
|
AddAssert("player is different", () => lastPlayer != player);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Reference in New Issue
Block a user