mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 09:03:01 +08:00
Remove no longer correct usage of "legacy" in offsets
This commit is contained in:
parent
9d92b795fa
commit
300b3f22b1
@ -84,22 +84,22 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
[TestCase(true, false)]
|
[TestCase(true, false)]
|
||||||
[TestCase(false, true)]
|
[TestCase(false, true)]
|
||||||
[TestCase(false, false)]
|
[TestCase(false, false)]
|
||||||
public void TestLegacyOffsetWithBeatmapColours(bool userHasCustomColours, bool useBeatmapSkin)
|
public void TestComboOffsetWithBeatmapColours(bool userHasCustomColours, bool useBeatmapSkin)
|
||||||
{
|
{
|
||||||
PrepareBeatmap(() => new OsuCustomSkinWorkingBeatmap(audio, true, getHitCirclesWithLegacyOffsets()));
|
PrepareBeatmap(() => new OsuCustomSkinWorkingBeatmap(audio, true, getHitCirclesWithLegacyOffsets()));
|
||||||
ConfigureTest(useBeatmapSkin, true, userHasCustomColours);
|
ConfigureTest(useBeatmapSkin, true, userHasCustomColours);
|
||||||
assertCorrectObjectComboColours("is beatmap skin colours with legacy offsets applied",
|
assertCorrectObjectComboColours("is beatmap skin colours with combo offsets applied",
|
||||||
TestBeatmapSkin.Colours,
|
TestBeatmapSkin.Colours,
|
||||||
(i, obj) => i + 1 + obj.ComboOffset);
|
(i, obj) => i + 1 + obj.ComboOffset);
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestCase(true)]
|
[TestCase(true)]
|
||||||
[TestCase(false)]
|
[TestCase(false)]
|
||||||
public void TestLegacyOffsetWithIgnoredBeatmapColours(bool useBeatmapSkin)
|
public void TestComboOffsetWithIgnoredBeatmapColours(bool useBeatmapSkin)
|
||||||
{
|
{
|
||||||
PrepareBeatmap(() => new OsuCustomSkinWorkingBeatmap(audio, true, getHitCirclesWithLegacyOffsets()));
|
PrepareBeatmap(() => new OsuCustomSkinWorkingBeatmap(audio, true, getHitCirclesWithLegacyOffsets()));
|
||||||
ConfigureTest(useBeatmapSkin, false, true);
|
ConfigureTest(useBeatmapSkin, false, true);
|
||||||
assertCorrectObjectComboColours("is user skin colours without legacy offsets applied",
|
assertCorrectObjectComboColours("is user skin colours without combo offsets applied",
|
||||||
TestSkin.Colours,
|
TestSkin.Colours,
|
||||||
(i, _) => i + 1);
|
(i, _) => i + 1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user