mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09: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();
|
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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user