public void TestSeek() { track.SeekAsync(1000); updateTrack(); Assert.IsFalse(track.IsRunning); Assert.AreEqual(1000, track.CurrentTime); }
public void Setup() { #pragma warning disable 4014 track.SeekAsync(1000); #pragma warning restore 4014 track.Update(); Assert.AreEqual(1000, track.CurrentTime); }