1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 10:43:22 +08:00

Fix mania fade in test not actually testing the mod

This commit is contained in:
Salman Alshamrani 2025-01-12 22:56:39 -05:00
parent c1ac27d658
commit 4774d9c9ae

View File

@ -26,7 +26,7 @@ namespace osu.Game.Rulesets.Mania.Tests.Mods
{ {
CreateModTest(new ModTestData CreateModTest(new ModTestData
{ {
Mod = new ManiaModHidden(), Mod = new ManiaModFadeIn(),
PassCondition = () => checkCoverage(ManiaModHidden.MIN_COVERAGE) PassCondition = () => checkCoverage(ManiaModHidden.MIN_COVERAGE)
}); });
} }
@ -36,7 +36,7 @@ namespace osu.Game.Rulesets.Mania.Tests.Mods
{ {
CreateModTest(new ModTestData CreateModTest(new ModTestData
{ {
Mod = new ManiaModHidden(), Mod = new ManiaModFadeIn(),
PassCondition = () => checkCoverage(ManiaModHidden.MIN_COVERAGE) PassCondition = () => checkCoverage(ManiaModHidden.MIN_COVERAGE)
}); });
@ -48,7 +48,7 @@ namespace osu.Game.Rulesets.Mania.Tests.Mods
{ {
CreateModTest(new ModTestData CreateModTest(new ModTestData
{ {
Mod = new ManiaModHidden(), Mod = new ManiaModFadeIn(),
PassCondition = () => checkCoverage(ManiaModHidden.MAX_COVERAGE) PassCondition = () => checkCoverage(ManiaModHidden.MAX_COVERAGE)
}); });
@ -60,7 +60,7 @@ namespace osu.Game.Rulesets.Mania.Tests.Mods
{ {
CreateModTest(new ModTestData CreateModTest(new ModTestData
{ {
Mod = new ManiaModHidden(), Mod = new ManiaModFadeIn(),
PassCondition = () => checkCoverage(ManiaModHidden.MAX_COVERAGE) PassCondition = () => checkCoverage(ManiaModHidden.MAX_COVERAGE)
}); });
@ -73,7 +73,7 @@ namespace osu.Game.Rulesets.Mania.Tests.Mods
{ {
CreateModTest(new ModTestData CreateModTest(new ModTestData
{ {
Mod = new ManiaModHidden(), Mod = new ManiaModFadeIn(),
CreateBeatmap = () => new Beatmap CreateBeatmap = () => new Beatmap
{ {
HitObjects = Enumerable.Range(1, 100).Select(i => (HitObject)new Note { StartTime = 1000 + 200 * i }).ToList(), HitObjects = Enumerable.Range(1, 100).Select(i => (HitObject)new Note { StartTime = 1000 + 200 * i }).ToList(),