Move column initialisation to ctor and fix remaining tests

This commit is contained in:
Dean Herbert
2022-10-05 19:14:31 +09:00
parent 5fe9b953a5
commit 2ae1aef0be
22 changed files with 58 additions and 35 deletions

View File

@ -35,10 +35,7 @@ namespace osu.Game.Rulesets.Mania.Tests
}, 7)]
public void Test(IEnumerable<bool> special, int columns)
{
var definition = new StageDefinition
{
Columns = columns
};
var definition = new StageDefinition(columns);
var results = getResults(definition);
Assert.AreEqual(special, results);
}