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:
parent
de4f7fa2f3
commit
9bad912dd0
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user