Esempio n. 1
0
 public void WantToTestSubFunctionality()
 {
     var cal1 = new Calculator();
     double sub = cal1.Substraction(2, 2);
     Assert.AreEqual(0, sub);
 }
Esempio n. 2
0
 public void WantToTestDecimalSubstraction1()
 {
     var cal2 = new Calculator();
     double sub = cal2.Substraction(2.2, 1.1);
     Assert.AreEqual(1.1, sub);
 }
Esempio n. 3
0
 public void WantToTestDecimalSubstraction3()
 {
     Calculator calculator = new Calculator();
     double sub = calculator.Substraction(2.0, 1);
     Assert.AreEqual(1.0, sub);
 }