示例#1
0
 public void SqrtTestsNegative()
 {
     var calculator = new Sqrt();
     var result = calculator.Calculate(-3);
 }
示例#2
0
 public void CalculateTest(double argument, double result)
 {
     var calculator = new Sqrt();
     var testResult = calculator.Calculate(argument);
     Assert.AreEqual(result, testResult);
 }