Esempio n. 1
0
        public void CalculateTest(double firstArgument, double secondArgument, double result, double accracy)
        {
            var testingFunction = new Sub();
            var testResult      = testingFunction.Calculate(firstArgument, secondArgument);

            Assert.AreEqual(result, testResult, accracy);
        }
Esempio n. 2
0
 public void CalculateTest(double firstArgument, double secondArgument, double result, double accracy)
 {
     var testingFunction = new Sub();
     var testResult = testingFunction.Calculate(firstArgument, secondArgument);
     Assert.AreEqual(result, testResult, accracy);
 }