public void AugmenterTemperatureCasAuLimiteMaxRetourExceptionTest()
        {
            // Arranger (Arrange)
            Thermostat objThermostat = new Thermostat(Thermostat.MAX_TEMPERATURE);

            //Agir (Act)
            objThermostat.AugmenterTemperature();
            //Auditer (Assert)

            // InvalidOperationException attendue intercepté au niveau de l'annotation  [ExpectedException(typeof(InvalidOperationException))]
        }
        public void AugmenterTemperatureCasAuLimiteMinRetourLimiteMinPlusUnTest()
        {
            // Arranger (Arrange)
            Thermostat objThermostat = new Thermostat(Thermostat.MIN_TEMPERATURE);

            //Agir (Act)
            objThermostat.AugmenterTemperature();
            //Auditer (Assert)
            int ValeurAttendue  = Thermostat.MIN_TEMPERATURE + 1;
            int valeurRetournee = objThermostat.Temperature;

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

            //Agir (Act)
            objThermostat.AugmenterTemperature();
            //Auditer (Assert)
            int ValeurAttendue  = 16;
            int valeurRetournee = objThermostat.Temperature;

            Assert.AreEqual(ValeurAttendue, valeurRetournee);
        }