1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Add failing test case

This commit is contained in:
Bartłomiej Dach 2021-11-11 12:55:14 +01:00
parent de4f7fa2f3
commit 9bad912dd0
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -61,6 +61,16 @@ namespace osu.Game.Tests.Visual.Gameplay
AddRepeatStep("Bring UR to 100", () => applyJudgement(-10, false), 10);
}
[Test]
public void TestCounterReceivesJudgementsBeforeCreation()
{
AddRepeatStep("Set UR to 250", () => applyJudgement(25, true), 4);
AddStep("Create Display", recreateDisplay);
AddUntilStep("UR = 250", () => counter.Current.Value == 250.0);
}
private void recreateDisplay()
{
Clear();