Remove no longer correct usage of "legacy" in offsets

This commit is contained in:
Salman Ahmed 2021-07-20 14:35:21 +03:00
parent 9d92b795fa
commit 300b3f22b1
1 changed files with 4 additions and 4 deletions

View File

@ -84,22 +84,22 @@ public void TestBeatmapNoComboColoursSkinOverride(bool useBeatmapSkin, bool useB
[TestCase(true, false)]
[TestCase(false, true)]
[TestCase(false, false)]
public void TestLegacyOffsetWithBeatmapColours(bool userHasCustomColours, bool useBeatmapSkin)
public void TestComboOffsetWithBeatmapColours(bool userHasCustomColours, bool useBeatmapSkin)
{
PrepareBeatmap(() => new OsuCustomSkinWorkingBeatmap(audio, true, getHitCirclesWithLegacyOffsets()));
ConfigureTest(useBeatmapSkin, true, userHasCustomColours);
assertCorrectObjectComboColours("is beatmap skin colours with legacy offsets applied",
assertCorrectObjectComboColours("is beatmap skin colours with combo offsets applied",
TestBeatmapSkin.Colours,
(i, obj) => i + 1 + obj.ComboOffset);
}
[TestCase(true)]
[TestCase(false)]
public void TestLegacyOffsetWithIgnoredBeatmapColours(bool useBeatmapSkin)
public void TestComboOffsetWithIgnoredBeatmapColours(bool useBeatmapSkin)
{
PrepareBeatmap(() => new OsuCustomSkinWorkingBeatmap(audio, true, getHitCirclesWithLegacyOffsets()));
ConfigureTest(useBeatmapSkin, false, true);
assertCorrectObjectComboColours("is user skin colours without legacy offsets applied",
assertCorrectObjectComboColours("is user skin colours without combo offsets applied",
TestSkin.Colours,
(i, _) => i + 1);
}