Add failing test

This commit is contained in:
Dean Herbert 2019-11-14 13:28:13 +09:00
parent 4adf967801
commit 1109d201c3
1 changed files with 16 additions and 0 deletions

View File

@ -242,6 +242,22 @@ public void TestRulesetChangeResetsMods()
void onRulesetChange(ValueChangedEvent<RulesetInfo> e) => rulesetChangeIndex = actionIndex++;
}
[Test]
public void TestModsRetainedBetweenSongSelect()
{
AddAssert("empty mods", () => !Mods.Value.Any());
createSongSelect();
addRulesetImportStep(0);
changeMods(new OsuModHardRock());
createSongSelect();
AddAssert("mods retained", () => Mods.Value.Any());
}
[Test]
public void TestStartAfterUnMatchingFilterDoesNotStart()
{