mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Make long spinner test longer and fix step name
This commit is contained in:
parent
40f020c683
commit
88a27124c0
@ -34,7 +34,7 @@ namespace osu.Game.Rulesets.Osu.Tests
|
||||
[TestCase(true)]
|
||||
public void TestLongSpinner(bool autoplay)
|
||||
{
|
||||
AddStep("Very short spinner", () => SetContents(() => testSingle(5, autoplay, 2000)));
|
||||
AddStep("Very long spinner", () => SetContents(() => testSingle(5, autoplay, 4000)));
|
||||
AddUntilStep("Wait for completion", () => drawableSpinner.Result.HasResult);
|
||||
AddUntilStep("Check correct progress", () => drawableSpinner.Progress == (autoplay ? 1 : 0));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user