public void DiminuerTemperatureCasAuLimiteMinRetourExceptionTest()
        {
            // Arranger (Arrange)
            Thermostat objThermostat = new Thermostat(Thermostat.MIN_TEMPERATURE);

            //Agir (Act)
            objThermostat.DiminuerTemperature();
            //Auditer (Assert)
            // InvalidOperationException attendue intercepté au niveau de l'annotation  [ExpectedException(typeof(InvalidOperationException))]
        }
        public void DiminuerTemperatureCasTempInitRetourTempInitMoinsUnTest()
        {
            // Arranger (Arrange)
            Thermostat objThermostat = new Thermostat(15);

            //Agir (Act)
            objThermostat.DiminuerTemperature();
            //Auditer (Assert)
            int ValeurAttendue  = 14;
            int valeurRetournee = objThermostat.Temperature;

            Assert.AreEqual(ValeurAttendue, valeurRetournee);
        }
        public void DiminuerTemperatureCasAuLimiteMaxRetourLimiteMaxMoinsUnTest()
        {
            // Arranger (Arrange)
            Thermostat objThermostat = new Thermostat(Thermostat.MAX_TEMPERATURE);

            //Agir (Act)

            objThermostat.DiminuerTemperature();

            //Auditer (Assert)
            int ValeurAttendue  = Thermostat.MAX_TEMPERATURE - 1;
            int valeurRetournee = objThermostat.Temperature;

            Assert.AreEqual(ValeurAttendue, valeurRetournee);
        }