public void Test_CalibrateBrightCommand_880()
        {
            using (var helper = new CalibrateCommandTestHelper()) {
                helper.Label         = "bright";
                helper.Key           = "B";
                helper.RawLightValue = 880;

                helper.DevicePort     = GetDevicePort();
                helper.DeviceBaudRate = GetDeviceSerialBaudRate();

                helper.SimulatorPort     = GetSimulatorPort();
                helper.SimulatorBaudRate = GetSimulatorSerialBaudRate();

                helper.TestCalibrateCommand();
            }
        }
        public void Test_CalibrateDarkCommand_200()
        {
            using (var helper = new CalibrateCommandTestHelper()) {
                helper.Label         = "dark";
                helper.Key           = "D";
                helper.RawLightValue = 200;

                helper.DevicePort     = GetDevicePort();
                helper.DeviceBaudRate = GetDeviceSerialBaudRate();

                helper.SimulatorPort     = GetSimulatorPort();
                helper.SimulatorBaudRate = GetSimulatorSerialBaudRate();

                helper.TestCalibrateCommand();
            }
        }
        public void Test_CalibrateBrightToCurrentLightValueCommand_80Percent()
        {
            using (var helper = new CalibrateCommandTestHelper())
            {
                helper.Label  = "bright";
                helper.Letter = "B";
                helper.SimulatedLightPercentage = 80;

                helper.DevicePort     = GetDevicePort();
                helper.DeviceBaudRate = GetDeviceSerialBaudRate();

                helper.SimulatorPort     = GetSimulatorPort();
                helper.SimulatorBaudRate = GetSimulatorSerialBaudRate();

                helper.TestCalibrateCommand();
            }
        }