mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +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);
|
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]
|
[Test]
|
||||||
public void TestCycleDisplayModes()
|
public void TestCycleDisplayModes()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user