Esempio n. 1
0
 public void Calculate(int input,int output)
 {
     var calculator = new Sqrt();
     var testResult = calculator.Calculate(input);
     var result = output;
     Assert.AreEqual(testResult,result);
 }
Esempio n. 2
0
 public void NegativeSqrtTests()
 {
     var calculator = new Sqrt();
     var result = calculator.Calculate(-4);
 }