A game framework written with osu! in mind.

Add test coverage of looping before start time

Changed files
+11
osu.Framework.Tests
Visual
+11
osu.Framework.Tests/Visual/Sprites/TestSceneVideo.cs
··· 96 96 } 97 97 98 98 [Test] 99 + public void TestDecodingContinuesBeforeStartTimeIfLooping() 100 + { 101 + AddStep("Set looping", () => video.Loop = true); 102 + 103 + AddStep("Jump back to before start time", () => clock.CurrentTime = -30000); 104 + 105 + AddStep("reset decode state", () => didDecode = false); 106 + AddUntilStep("decoding ran", () => didDecode); 107 + } 108 + 109 + [Test] 99 110 public void TestDecodingStopsBeforeStartTime() 100 111 { 101 112 AddStep("Jump back to before start time", () => clock.CurrentTime = -30000);