예제 #1
0
파일: TestGame.cs 프로젝트: Beefr/xenko-wd
        public void TestCreationDestructionOfTheGame()
        {
            // Make sure this doesn't throw
            var game = new AudioTestGame();

            game.Dispose();
        }
예제 #2
0
        public void TestCreationDestructionOfTheGame()
        {
            AudioTestGame game = null;

            Assert.DoesNotThrow(() => game = new AudioTestGame(), "Creation of the Game failed");
            Assert.DoesNotThrow(() => game.Dispose(), "Disposal of the Game failed");
        }
예제 #3
0
 public void TestCreationDestructionOfTheGame()
 {
     AudioTestGame game = null;
     Assert.DoesNotThrow(() => game = new AudioTestGame(), "Creation of the Game failed");
     Assert.DoesNotThrow(()=> game.Dispose(), "Disposal of the Game failed");
 }