Exemplo n.º 1
0
        public void TestDisminuirPresion()
        {
            Assert.AreEqual(100, weatherStation.Pressure);

            weatherStation.DecreaseThePreasureInBar(1);
            Assert.AreEqual(99, weatherStation.Pressure);

            weatherStation.DecreaseThePreasureInBar(20);
            Assert.AreEqual(79, weatherStation.Pressure);
        }