Namespace: DeltaEngine.Multimedia.Tests
Assembly: DeltaEngine.Multimedia.Tests (in DeltaEngine.Multimedia.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Multimedia.Tests (in DeltaEngine.Multimedia.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void TestIfPLayingMusic() { var video = ContentLoader.Load<Video>("DefaultVideo"); video.Play(); Assert.IsTrue(video.IsPlaying()); Assert.AreEqual(3.33333325f, video.DurationInSeconds); Assert.AreEqual(1.0f, video.PositionInSeconds); }
See Also