public void TestCreationDestructionOfTheGame() { // Make sure this doesn't throw var game = new AudioTestGame(); game.Dispose(); }
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"); }
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"); }