mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 19:12:59 +08:00
Add test case for running with high number of loops
This commit is contained in:
parent
8a1c5a7547
commit
d039b56562
@ -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()
|
protected override void Update()
|
||||||
{
|
{
|
||||||
base.Update();
|
base.Update();
|
||||||
|
Loading…
Reference in New Issue
Block a user