mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
Refactor exposed mod retrieval methods for better safety
This commit is contained in:
@ -158,8 +158,8 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
var mania = new ManiaRuleset();
|
||||
|
||||
testModsWithSameBaseType(
|
||||
mania.GetAllMods().Single(m => m.GetType() == typeof(ManiaModFadeIn)),
|
||||
mania.GetAllMods().Single(m => m.GetType() == typeof(ManiaModHidden)));
|
||||
mania.CreateAllMods().Single(m => m.GetType() == typeof(ManiaModFadeIn)),
|
||||
mania.CreateAllMods().Single(m => m.GetType() == typeof(ManiaModHidden)));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Reference in New Issue
Block a user