예제 #1
0
        public void XBacon()
        {
            var lanche = LancheFactory.XBacon();
            var pedido = new Pedido(lanche);

            pedido.Calcular();
            Assert.Equal(6.50m, pedido.Total);
        }
예제 #2
0
 public IList <Lanche> ObterLanches()
 {
     return(new List <Lanche>()
     {
         LancheFactory.XBacon(),
         LancheFactory.XBurger(),
         LancheFactory.XEgg(),
         LancheFactory.XEggBacon(),
     });
 }