Example #1
0
        public void TestCreationDestructionOfTheGame()
        {
            // Make sure this doesn't throw
            var game = new AudioTestGame();

            game.Dispose();
        }
Example #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");
        }
Example #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");
 }