public void TanHalfPi() { var calculator = new Tg(); calculator.Calculate(90); }
public void CalculateTest(double argument, double result, double accuracy) { var calculator = new Tg(); double testResult = calculator.Calculate(argument); Assert.AreEqual(testResult,result, accuracy); }