Ejemplo n.º 1
0
        public void TestAumentarTemperatura()
        {
            Assert.AreEqual(20, weatherStation.Temperature);

            weatherStation.IncreaseTheTemperatureInDegrees(1);
            Assert.AreEqual(21, weatherStation.Temperature);

            weatherStation.IncreaseTheTemperatureInDegrees(2);
            Assert.AreEqual(23, weatherStation.Temperature);
        }