Пример #1
0
        public async Task AdditionalChildrenMultiplier_4()
        {
            // Arrange
            decimal multiplier = 0m;

            // Act
            multiplier = await MCSF.AdditionalChildrenMultiplier(4);

            // Assert
            Assert.AreEqual(.69m, multiplier);
        }
Пример #2
0
        public async Task AdditionalChildrenMultiplier_5Plus()
        {
            // Arrange
            decimal multiplier5 = 0m;
            decimal multiplier7 = 0m;

            // Act
            multiplier5 = await MCSF.AdditionalChildrenMultiplier(5);

            multiplier7 = await MCSF.AdditionalChildrenMultiplier(7);

            // Assert
            Assert.AreEqual(multiplier5, multiplier7);
        }
Пример #3
0
        public async Task <ActionResult> Index()
        {
            ViewBag.Multiplier = await MCSF.AdditionalChildrenMultiplier(2);

            return(View());
        }