mirror of
https://github.com/ppy/osu
synced 2025-01-28 16:53:02 +00:00
Update outdated test cases
This commit is contained in:
parent
554652b033
commit
a1001542f3
@ -86,9 +86,8 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
[TestCase(false, false)]
|
[TestCase(false, false)]
|
||||||
public void TestLegacyOffsetWithBeatmapColours(bool userHasCustomColours, bool useBeatmapSkin)
|
public void TestLegacyOffsetWithBeatmapColours(bool userHasCustomColours, bool useBeatmapSkin)
|
||||||
{
|
{
|
||||||
TestBeatmap = new OsuCustomSkinWorkingBeatmap(audio, true, getHitCirclesWithLegacyOffsets());
|
PrepareBeatmap(() => new OsuCustomSkinWorkingBeatmap(audio, true, getHitCirclesWithLegacyOffsets()));
|
||||||
base.TestBeatmapComboColours(userHasCustomColours, useBeatmapSkin);
|
ConfigureTest(useBeatmapSkin, true, userHasCustomColours);
|
||||||
|
|
||||||
assertCorrectObjectComboColours("is beatmap skin colours with legacy offsets applied",
|
assertCorrectObjectComboColours("is beatmap skin colours with legacy offsets applied",
|
||||||
TestBeatmapSkin.Colours,
|
TestBeatmapSkin.Colours,
|
||||||
(i, obj) => i + 1 + obj.LegacyBeatmapComboOffset);
|
(i, obj) => i + 1 + obj.LegacyBeatmapComboOffset);
|
||||||
@ -98,9 +97,8 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
[TestCase(false)]
|
[TestCase(false)]
|
||||||
public void TestLegacyOffsetWithIgnoredBeatmapColours(bool useBeatmapSkin)
|
public void TestLegacyOffsetWithIgnoredBeatmapColours(bool useBeatmapSkin)
|
||||||
{
|
{
|
||||||
TestBeatmap = new OsuCustomSkinWorkingBeatmap(audio, true, getHitCirclesWithLegacyOffsets());
|
PrepareBeatmap(() => new OsuCustomSkinWorkingBeatmap(audio, true, getHitCirclesWithLegacyOffsets()));
|
||||||
base.TestBeatmapComboColoursOverride(useBeatmapSkin);
|
ConfigureTest(useBeatmapSkin, false, true);
|
||||||
|
|
||||||
assertCorrectObjectComboColours("is user skin colours without legacy offsets applied",
|
assertCorrectObjectComboColours("is user skin colours without legacy offsets applied",
|
||||||
TestSkin.Colours,
|
TestSkin.Colours,
|
||||||
(i, _) => i + 1);
|
(i, _) => i + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user