1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-09 02:23:40 +08:00

Add failing test showing crash when adjusting offset with no HitEvents

This commit is contained in:
Dean Herbert
2024-11-14 16:03:00 +09:00
Unverified
parent c25215d2cf
commit 383b4a5c3e
@@ -40,6 +40,13 @@ namespace osu.Game.Tests.Visual.Ranking
AddSliderStep("height", 0.0f, 1000.0f, height.Value, height.Set);
}
[Test]
public void TestZeroEvents()
{
createTest(new List<HitEvent>());
AddStep("update offset", () => graph.UpdateOffset(10));
}
[Test]
public void TestManyDistributedEventsOffset()
{