1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:33:05 +08:00

Add further test logic to ensure retry / restart flow is working correctly

This commit is contained in:
Dean Herbert 2020-10-29 15:03:38 +09:00
parent a59ea987b7
commit 7dd3a748be

View File

@ -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]