1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:33:21 +08:00

Add failing test case

This commit is contained in:
Bartłomiej Dach 2023-01-18 21:42:22 +01:00
parent 06212bca51
commit 7299d227d1
No known key found for this signature in database

View File

@ -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()
{