Exemple #1
0
        public void TestSeek()
        {
            track.SeekAsync(1000);
            updateTrack();

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