public IActionResult Div(int a, int b)
 {
     return(View("CalcView", new CalcViewModel {
         A = a, B = b, Result = _calc.Div(a, b)
     }));
 }
Пример #2
0
        public void DivReturnFalseGivenValueOf13And22()
        {
            double result = _calculateService.Div(64, 8);

            Assert.AreEqual(8, result);
        }