Ejemplo n.º 1
0
        public void TestMethod5()
        {
            Food tea = new Tea();
            Food pie = new Pie();

            double tr      = pie.cost() + tea.cost();
            Facade facade1 = new Facade();
            double tr1     = facade1.SweetPieMenu(tr);

            Assert.AreEqual(tr1, 2.975);
            Assert.IsNotNull(tr);
            Assert.IsNotNull(tr1);
        }