コード例 #1
0
 public void operator operatorDivideTest()
 {
     Calculator calculator = new Calculator();
     // Input Parameter
     a = 10;
     b = 5;
     int expectedResult = 2;
     Assert.AreEqual(expectedResult, calculator.operatorDivide(a, b), "Expected Result is 2 but Actual Result is {0}", expectedResult);
 }