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

Add test steps for testing combo reset to 0

This commit is contained in:
Bartłomiej Dach 2022-11-22 20:43:22 +01:00
parent ce7af0df63
commit 675e32df57
No known key found for this signature in database

View File

@ -35,6 +35,7 @@ namespace osu.Game.Rulesets.Taiko.Tests.Skinning
AddStep("Set 50 combo", () => gameplayState.ScoreProcessor.Combo.Value = 50); AddStep("Set 50 combo", () => gameplayState.ScoreProcessor.Combo.Value = 50);
addHitSteps(); addHitSteps();
AddStep("Reset combo", () => gameplayState.ScoreProcessor.Combo.Value = 0);
} }
[Test] [Test]
@ -44,6 +45,7 @@ namespace osu.Game.Rulesets.Taiko.Tests.Skinning
AddStep("Set 150 combo", () => gameplayState.ScoreProcessor.Combo.Value = 150); AddStep("Set 150 combo", () => gameplayState.ScoreProcessor.Combo.Value = 150);
addHitSteps(); addHitSteps();
AddStep("Reset combo", () => gameplayState.ScoreProcessor.Combo.Value = 0);
} }
private void addHitSteps() private void addHitSteps()