1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-11 23:53:22 +08:00

Add test case for running with high number of loops

This commit is contained in:
Salman Ahmed 2024-03-10 07:26:27 +03:00
parent 8a1c5a7547
commit d039b56562

View File

@ -87,6 +87,17 @@ namespace osu.Game.Tests.Visual.Gameplay
}));
}
[Test]
public void TestLoopManyTimes()
{
AddStep("create sprite", () => Child = createSprite(s =>
{
var loop = s.AddLoopingGroup(500, 10000);
loop.AddY(Easing.OutBounce, 0, 60, 100, 240);
loop.AddY(Easing.OutQuint, 80, 120, 240, 100);
}));
}
protected override void Update()
{
base.Update();