1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

Rename tests and add missing coverage

This commit is contained in:
Dean Herbert 2019-12-25 15:05:08 +09:00
parent 9090d13e05
commit 3485ef33a7

View File

@ -26,19 +26,20 @@ namespace osu.Game.Rulesets.Osu.Tests
[Resolved]
private AudioManager audio { get; set; }
[Test]
public void TestBeatmapComboColours()
[TestCase(true)]
[TestCase(false)]
public void TestBeatmapComboColours(bool customSkinColoursPresent)
{
ExposedPlayer player = null;
AddStep("load coloured beatmap", () => player = loadBeatmap(false, true));
AddStep("load coloured beatmap", () => player = loadBeatmap(customSkinColoursPresent, true));
AddUntilStep("wait for player", () => player.IsLoaded);
AddAssert("is beatmap skin colours", () => player.UsableComboColours.SequenceEqual(TestBeatmapSkin.Colours));
}
[Test]
public void TestEmptyBeatmapComboColours()
public void TestBeatmapNoComboColours()
{
ExposedPlayer player = null;
@ -49,7 +50,7 @@ namespace osu.Game.Rulesets.Osu.Tests
}
[Test]
public void TestEmptyBeatmapCustomSkinColours()
public void TestBeatmapNoComboColoursSkinOverride()
{
ExposedPlayer player = null;