public async Task AdditionalChildrenMultiplier_4() { // Arrange decimal multiplier = 0m; // Act multiplier = await MCSF.AdditionalChildrenMultiplier(4); // Assert Assert.AreEqual(.69m, multiplier); }
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); }
public async Task <ActionResult> Index() { ViewBag.Multiplier = await MCSF.AdditionalChildrenMultiplier(2); return(View()); }