From 0d79d1669206d44e452577e52a12c978b1445e2a Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Mon, 15 Jan 2018 15:52:07 +0900 Subject: [PATCH] Cleanup testcase --- osu.Game.Rulesets.Mania/Tests/TestCaseManiaPlayfield.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Mania/Tests/TestCaseManiaPlayfield.cs b/osu.Game.Rulesets.Mania/Tests/TestCaseManiaPlayfield.cs index 9f30427045..d021202f36 100644 --- a/osu.Game.Rulesets.Mania/Tests/TestCaseManiaPlayfield.cs +++ b/osu.Game.Rulesets.Mania/Tests/TestCaseManiaPlayfield.cs @@ -48,6 +48,7 @@ public TestCaseManiaPlayfield() }; createPlayfield(stages, SpecialColumnPosition.Normal); }); + AddStep("2 + 4 + 2 columns", () => { var stages = new List @@ -58,7 +59,8 @@ public TestCaseManiaPlayfield() }; createPlayfield(stages, SpecialColumnPosition.Normal); }); - AddStep("1 + 1 + 8 columns", () => + + AddStep("1 + 8 + 1 columns", () => { var stages = new List { @@ -105,6 +107,7 @@ private ManiaPlayfield createPlayfield(int cols, SpecialColumnPosition specialPo { new StageDefinition { Columns = cols }, }; + return createPlayfield(stages, specialPos, inverted); } @@ -143,6 +146,7 @@ private void createPlayfieldWithNotes(bool inverted = false) { new StageDefinition { Columns = 4 }, }; + inputManager.Add(playfield = new ManiaPlayfield(stages) { Anchor = Anchor.Centre,