コード例 #1
0
 public void WantToTestDecimalMultiplication3()
 {
     var cal2 = new Calculator();
     double mul = cal2.Multiplication(3, 6.0);
     Assert.AreEqual(18.0, mul);
 }
コード例 #2
0
 public void WantToTestDecimalMultiplication1()
 {
     var cal1 = new Calculator();
     double mul = cal1.Multiplication(2.2, 2);
     Assert.AreEqual(4.4, mul);
 }
コード例 #3
0
 public void WantToTestDecimalMultiplication2()
 {
     var cal2 = new Calculator();
     double mul = cal2.Multiplication(2.2, 1.2);
     Assert.AreEqual(2.64, mul);
 }
コード例 #4
0
 public void WantToTestMultiplicationFunctionality()
 {
     var cal1 = new Calculator();
     double mul = cal1.Multiplication(2, 2);
     Assert.AreEqual(4, mul);
 }