1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 03:19:52 +08:00

use ctor directly instead

This commit is contained in:
Hivie
2025-08-09 12:45:38 +01:00
Unverified
parent 172a48f1ac
commit e078806af2
3 changed files with 6 additions and 6 deletions
@@ -211,11 +211,11 @@ namespace osu.Game.Rulesets.Taiko.Tests.Editor.Checks
private BeatmapVerifierContext createContextWithMultipleDifficulties(IBeatmap currentBeatmap, IBeatmap[] allDifficulties)
{
return BeatmapVerifierContext.CreateWithBeatmapResolver(
return new BeatmapVerifierContext(
currentBeatmap,
new TestWorkingBeatmap(currentBeatmap),
DifficultyRating.ExpertPlus,
beatmapInfo => allDifficulties.FirstOrDefault(b => b.BeatmapInfo.Equals(beatmapInfo))
allDifficulties
);
}
}
@@ -206,11 +206,11 @@ namespace osu.Game.Tests.Editing.Checks
private BeatmapVerifierContext createContextWithMultipleDifficulties(IBeatmap currentBeatmap, IBeatmap[] allDifficulties)
{
return BeatmapVerifierContext.CreateWithBeatmapResolver(
return new BeatmapVerifierContext(
currentBeatmap,
new TestWorkingBeatmap(currentBeatmap),
DifficultyRating.ExpertPlus,
beatmapInfo => allDifficulties.FirstOrDefault(b => b.BeatmapInfo.Equals(beatmapInfo))
allDifficulties
);
}
}
@@ -245,11 +245,11 @@ namespace osu.Game.Tests.Editing.Checks
private BeatmapVerifierContext createContext(IBeatmap currentBeatmap, IBeatmap[] allDifficulties)
{
return BeatmapVerifierContext.CreateWithBeatmapResolver(
return new BeatmapVerifierContext(
currentBeatmap,
new TestWorkingBeatmap(currentBeatmap),
DifficultyRating.ExpertPlus,
beatmapInfo => allDifficulties.FirstOrDefault(b => b.BeatmapInfo.Equals(beatmapInfo))
allDifficulties
);
}
}