Example #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);
 }
Example #2
0
 public void NegativeSqrtTests()
 {
     var calculator = new Sqrt();
     var result = calculator.Calculate(-4);
 }