mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Test fix
This commit is contained in:
@ -155,7 +155,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
hitErrorMeter.Hide();
|
hitErrorMeter.Hide();
|
||||||
});
|
});
|
||||||
|
|
||||||
AddRepeatStep("hit", () => newJudgement(), ColourHitErrorMeter.HitErrorShape. *2);
|
AddRepeatStep("hit", () => newJudgement(), 10);
|
||||||
|
|
||||||
AddAssert("bars added", () => this.ChildrenOfType<BarHitErrorMeter.JudgementLine>().Any());
|
AddAssert("bars added", () => this.ChildrenOfType<BarHitErrorMeter.JudgementLine>().Any());
|
||||||
AddAssert("circle added", () => this.ChildrenOfType<ColourHitErrorMeter.HitErrorShape>().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", () =>
|
AddUntilStep("ensure max circles not exceeded", () =>
|
||||||
{
|
{
|
||||||
return this.ChildrenOfType<ColourHitErrorMeter>()
|
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", () =>
|
AddStep("show displays", () =>
|
||||||
|
Reference in New Issue
Block a user