Add failing test for second incorrect case of start time handling

This commit is contained in:
Dean Herbert
2022-09-06 16:40:59 +09:00
parent bea42d2862
commit fa0a4614f8
2 changed files with 10 additions and 1 deletions

View File

@ -128,8 +128,11 @@ namespace osu.Game.Tests.Beatmaps.Formats
var storyboard = decoder.Decode(stream);
StoryboardLayer background = storyboard.Layers.Single(l => l.Depth == 3);
Assert.AreEqual(1, background.Elements.Count);
Assert.AreEqual(2, background.Elements.Count);
Assert.AreEqual(1000, background.Elements[0].StartTime);
Assert.AreEqual(1000, background.Elements[1].StartTime);
Assert.AreEqual(1000, storyboard.EarliestEventTime);
}
}