1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 16:32:54 +08:00
This commit is contained in:
Mk-56spn 2022-09-06 03:00:13 +02:00
parent aace334fb3
commit cfa1ebd0cb

View File

@ -155,7 +155,7 @@ namespace osu.Game.Tests.Visual.Gameplay
hitErrorMeter.Hide();
});
AddRepeatStep("hit", () => newJudgement(), ColourHitErrorMeter.HitErrorShape. *2);
AddRepeatStep("hit", () => newJudgement(), 10);
AddAssert("bars added", () => this.ChildrenOfType<BarHitErrorMeter.JudgementLine>().Any());
AddAssert("circle added", () => this.ChildrenOfType<ColourHitErrorMeter.HitErrorShape>().Any());
@ -164,7 +164,7 @@ namespace osu.Game.Tests.Visual.Gameplay
AddUntilStep("ensure max circles not exceeded", () =>
{
return this.ChildrenOfType<ColourHitErrorMeter>()
.All(m => m.ChildrenOfType<ColourHitErrorMeter.HitErrorShape>().Count() <= ColourHitErrorMeter.HitShapeCount.Default);
.All(m => m.ChildrenOfType<ColourHitErrorMeter.HitErrorShape>().Count() <= 10);
});
AddStep("show displays", () =>