mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 03:22:57 +08:00
Add failing test showing crash when adjusting offset with no HitEvent
s
This commit is contained in:
parent
5cc1cbe880
commit
1b6952c42a
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user