public void Calculate() { TenDegreeX calculator = new TenDegreeX(); double result = calculator.Calculate(2); Assert.AreEqual(100, result, 0.001); }
public void CalculateTest( double firstValue, double expected) { var calculator = new TenDegreeX(); var actualResult = calculator.Calculate(firstValue); Assert.AreEqual(expected, actualResult, 0.001); }