mirror of https://github.com/ppy/osu
Add test for unimplemented mod
This commit is contained in:
parent
f10a19ada1
commit
3a7098340a
|
@ -83,6 +83,8 @@ private void testOsuMods(OsuRuleset ruleset)
|
|||
|
||||
var doubleTimeMod = harderMods.OfType<MultiMod>().FirstOrDefault(m => m.Mods.Any(a => a is OsuModDoubleTime));
|
||||
|
||||
var autoPilotMod = assistMods.FirstOrDefault(m => m is OsuModAutopilot);
|
||||
|
||||
var easy = easierMods.FirstOrDefault(m => m is OsuModEasy);
|
||||
var hardRock = harderMods.FirstOrDefault(m => m is OsuModHardRock);
|
||||
|
||||
|
@ -93,6 +95,8 @@ private void testOsuMods(OsuRuleset ruleset)
|
|||
testMultiplierTextColour(noFailMod, modSelect.LowMultiplierColour);
|
||||
testMultiplierTextColour(hiddenMod, modSelect.HighMultiplierColour);
|
||||
|
||||
testUnimplmentedMod(autoPilotMod);
|
||||
|
||||
// TODO: add back once we have an implemented unranked mod.
|
||||
// testMultiplierTextUnranked(autoPilotMod);
|
||||
}
|
||||
|
@ -129,6 +133,12 @@ private void testMultiMod(MultiMod multiMod)
|
|||
checkNotSelected(mod);
|
||||
}
|
||||
|
||||
private void testUnimplmentedMod(Mod mod)
|
||||
{
|
||||
selectNext(mod);
|
||||
checkNotSelected(mod);
|
||||
}
|
||||
|
||||
private void testIncompatibleMods(Mod modA, Mod modB)
|
||||
{
|
||||
selectNext(modA);
|
||||
|
|
Loading…
Reference in New Issue