mirror of https://github.com/ppy/osu
Add failing test
This commit is contained in:
parent
4adf967801
commit
1109d201c3
|
@ -242,6 +242,22 @@ public void TestRulesetChangeResetsMods()
|
||||||
void onRulesetChange(ValueChangedEvent<RulesetInfo> e) => rulesetChangeIndex = actionIndex++;
|
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]
|
[Test]
|
||||||
public void TestStartAfterUnMatchingFilterDoesNotStart()
|
public void TestStartAfterUnMatchingFilterDoesNotStart()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue