mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:02:55 +08:00
Add slider test step for visual inspection purposes
This commit is contained in:
parent
8e0f525588
commit
9bf70e4e97
@ -39,6 +39,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
setStars(5);
|
setStars(5);
|
||||||
|
|
||||||
AddRepeatStep("random value", () => setStars(RNG.NextSingle() * (starCounter.StarCount + 1)), 10);
|
AddRepeatStep("random value", () => setStars(RNG.NextSingle() * (starCounter.StarCount + 1)), 10);
|
||||||
|
AddSliderStep("exact value", 0f, 10f, 5f, setStars);
|
||||||
AddStep("stop animation", () => starCounter.StopAnimation());
|
AddStep("stop animation", () => starCounter.StopAnimation());
|
||||||
AddStep("reset", () => setStars(0));
|
AddStep("reset", () => setStars(0));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user