Cleanup testcase

This commit is contained in:
smoogipoo 2018-01-15 15:52:07 +09:00
parent dbcabfb6ac
commit 0d79d16692
1 changed files with 5 additions and 1 deletions

View File

@ -48,6 +48,7 @@ public TestCaseManiaPlayfield()
};
createPlayfield(stages, SpecialColumnPosition.Normal);
});
AddStep("2 + 4 + 2 columns", () =>
{
var stages = new List<StageDefinition>
@ -58,7 +59,8 @@ public TestCaseManiaPlayfield()
};
createPlayfield(stages, SpecialColumnPosition.Normal);
});
AddStep("1 + 1 + 8 columns", () =>
AddStep("1 + 8 + 1 columns", () =>
{
var stages = new List<StageDefinition>
{
@ -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,