FileSettingsTests CheckDefaultSettings Method Delta Engine Documentation

Namespace: DeltaEngine.Platforms.Tests
Assembly: DeltaEngine.Platforms.Tests (in DeltaEngine.Platforms.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void CheckDefaultSettings()
Examples

[Test, CloseAfterFirstFrame]
public void CheckDefaultSettings()
{
    Assert.AreEqual(false, fileSettings.StartInFullscreen);
    Assert.AreEqual(1.0f, fileSettings.SoundVolume);
    Assert.AreEqual(0.75f, fileSettings.MusicVolume);
    Assert.AreEqual(24, fileSettings.DepthBufferBits);
    Assert.AreEqual(32, fileSettings.ColorBufferBits);
    Assert.AreEqual(0, fileSettings.AntiAliasingSamples);
    Assert.AreEqual(0, fileSettings.LimitFramerate);
    Assert.AreEqual(20, fileSettings.UpdatesPerSecond);
}
See Also