Exemplo n.º 1
0
        public void QuarterRecipe()
        {
            var quarterRecipe = new AdjustRecipe();
            var expected      = quarterRecipe.AdjustSingleIngredient(6, .25m);
            var actual        = 1.5;

            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 2
0
        public void HalfRecipe()
        {
            var halfRecipe = new AdjustRecipe();
            var expected   = halfRecipe.AdjustSingleIngredient(3, .5m);
            var actual     = 1.5;

            Assert.AreEqual(expected, actual);
        }