Beispiel #1
0
        public void GetLimitsAirTemperatureFromDeviceTest()
        {
            ControlDevice device = new ControlDevice();

            device.ConnectToDevice();
            device.SetTemperatueLimitsForDevice(17, 29);
            float lowLimitTemperature = device.GetLowAirTemperatureLimit();

            Assert.AreEqual(lowLimitTemperature, 17);
            float highLimitTemperature = device.GetHighAirTemperatureLimit();

            Assert.AreEqual(highLimitTemperature, 29);
            device.DisConnectFromDevice();
        }