1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

Fix malformed testcase

This commit is contained in:
Dean Herbert 2020-08-06 12:33:40 +09:00
parent bb73489ae5
commit d5324be07d

View File

@ -23,12 +23,10 @@ namespace osu.Game.Rulesets.Osu.Tests
[TestCase(true)]
public void TestVariousSpinners(bool autoplay)
{
AddStep("Miss Big", () => SetContents(() => testSingle(2)));
AddStep("Miss Medium", () => SetContents(() => testSingle(5)));
AddStep("Miss Small", () => SetContents(() => testSingle(7)));
AddStep("Hit Big", () => SetContents(() => testSingle(2, autoplay)));
AddStep("Hit Medium", () => SetContents(() => testSingle(5, autoplay)));
AddStep("Hit Small", () => SetContents(() => testSingle(7, autoplay)));
string term = autoplay ? "Hit" : "Miss";
AddStep($"{term} Big", () => SetContents(() => testSingle(2, autoplay)));
AddStep($"{term} Medium", () => SetContents(() => testSingle(5, autoplay)));
AddStep($"{term} Small", () => SetContents(() => testSingle(7, autoplay)));
}
[TestCase(false)]