Automobile.Mobile.Framework.UnitTests.DeviceCommTests.DeviceOrientationTest C# (CSharp) Method

DeviceOrientationTest() private method

private DeviceOrientationTest ( ) : void
return void
        public void DeviceOrientationTest()
        {
            Remote.Orientation = Orientation.Portrait;
            Assert.AreEqual(Orientation.Portrait, Local.Orientation);
            Assert.AreEqual(Remote.Orientation, Local.Orientation);
            Remote.Orientation = Orientation.Landscape;
            Assert.AreEqual(Orientation.Landscape, Local.Orientation);
            Assert.AreEqual(Remote.Orientation, Local.Orientation);
        }