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:
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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user