mirror of
https://github.com/ppy/osu
synced 2025-01-10 08:09:40 +00: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);
|
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]
|
[Test]
|
||||||
public void TestManyDistributedEventsOffset()
|
public void TestManyDistributedEventsOffset()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user