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 PlayAndStopWithEntitiesRunner() { int startedNumberOfEntities = EntitiesRunner.Current.NumberOfEntities; Assert.AreEqual(startedNumberOfEntities, EntitiesRunner.Current.NumberOfEntities); testVideo.Stop(); Assert.AreEqual(startedNumberOfEntities, EntitiesRunner.Current.NumberOfEntities); testVideo.Play(); Assert.AreEqual(startedNumberOfEntities + 1, EntitiesRunner.Current.NumberOfEntities); testVideo.Stop(); Assert.AreEqual(startedNumberOfEntities, EntitiesRunner.Current.NumberOfEntities); }
See Also