Describe step names more

This commit is contained in:
Salman Ahmed 2020-04-03 19:50:32 +03:00
parent 7e82f5740b
commit 0340b6db51
1 changed files with 6 additions and 6 deletions

View File

@ -37,7 +37,7 @@ public void TestHyperDashFruitColour(bool legacyFruit)
{
DrawableFruit drawableFruit = null;
AddStep("setup fruit", () =>
AddStep("setup hyper-dash fruit", () =>
{
var fruit = new Fruit { HyperDashTarget = new Banana() };
fruit.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty());
@ -50,7 +50,7 @@ public void TestHyperDashFruitColour(bool legacyFruit)
}, false, false, false, legacyFruit);
});
AddAssert("default colour", () =>
AddAssert("hyper-dash fruit has default colour", () =>
legacyFruit
? checkLegacyFruitHyperDashColour(drawableFruit, Catcher.DefaultHyperDashColour)
: checkFruitHyperDashColour(drawableFruit, Catcher.DefaultHyperDashColour));
@ -64,7 +64,7 @@ public void TestCustomHyperDashFruitColour(bool legacyFruit, bool customCatcherH
{
DrawableFruit drawableFruit = null;
AddStep("setup fruit", () =>
AddStep("setup hyper-dash fruit", () =>
{
var fruit = new Fruit { HyperDashTarget = new Banana() };
fruit.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty());
@ -77,7 +77,7 @@ public void TestCustomHyperDashFruitColour(bool legacyFruit, bool customCatcherH
}, customCatcherHyperDashColour, false, true, legacyFruit);
});
AddAssert("custom colour", () =>
AddAssert("hyper-dash fruit use fruit colour from skin", () =>
legacyFruit
? checkLegacyFruitHyperDashColour(drawableFruit, TestSkin.CustomHyperDashFruitColour)
: checkFruitHyperDashColour(drawableFruit, TestSkin.CustomHyperDashFruitColour));
@ -89,7 +89,7 @@ public void TestCustomHyperDashFruitColourFallback(bool legacyFruit)
{
DrawableFruit drawableFruit = null;
AddStep("setup fruit", () =>
AddStep("setup hyper-dash fruit", () =>
{
var fruit = new Fruit { HyperDashTarget = new Banana() };
fruit.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty());
@ -103,7 +103,7 @@ public void TestCustomHyperDashFruitColourFallback(bool legacyFruit)
}, true, false, false, legacyFruit);
});
AddAssert("catcher custom colour", () =>
AddAssert("hyper-dash fruit colour falls back to catcher colour from skin", () =>
legacyFruit
? checkLegacyFruitHyperDashColour(drawableFruit, TestSkin.CustomHyperDashColour)
: checkFruitHyperDashColour(drawableFruit, TestSkin.CustomHyperDashColour));