DeviceTests OnSet3DModeActionIsCalledWhenSetting3DMode Method Delta Engine Documentation

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

public void OnSet3DModeActionIsCalledWhenSetting3DMode()
Examples

[Test]
public void OnSet3DModeActionIsCalledWhenSetting3DMode()
{
    var device = Resolve<Device>() as MockDevice;
    if (device == null)
        return; //ncrunch: no coverage
    Assert.IsFalse(device.OnSet3DModeCalled);
    device.Set3DMode();
    Assert.IsTrue(device.OnSet3DModeCalled);
}
See Also