Ejemplo n.º 1
0
        public void TestStrenghtBlackCoffe()
        {
            //Arrange
            Black_Coffe black_Coffe = new Black_Coffe(5);

            //Act
            string actualStrenght = black_Coffe.Strength();

            //Assert
            Assert.AreEqual("Strong", actualStrenght);
        }
Ejemplo n.º 2
0
        public void TestPriceBlackCoffe()
        {
            //Arrange
            Black_Coffe black_Coffe = new Black_Coffe(5);

            //Act
            int actualPrice = black_Coffe.price();

            //Assert
            Assert.AreEqual(25, actualPrice);
            Assert.ThrowsException()
        }