1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-29 03:19:54 +08:00

Add failing test case

This commit is contained in:
Bartłomiej Dach
2023-01-18 21:42:22 +01:00
Unverified
parent 06212bca51
commit 7299d227d1
@@ -126,6 +126,16 @@ namespace osu.Game.Tests.Visual.Gameplay
AddStep("Show max judgement", () => counterDisplay.ShowMaxJudgement.Value = true);
}
[Test]
public void TestMaxValueStartsHidden()
{
AddStep("create counter", () => Child = counterDisplay = new TestJudgementCounterDisplay
{
ShowMaxJudgement = { Value = false }
});
AddAssert("Check max hidden", () => counterDisplay.CounterFlow.ChildrenOfType<JudgementCounter>().First().Alpha == 0);
}
[Test]
public void TestCycleDisplayModes()
{