예제 #1
0
        public void TangentCalculatorTest(double firstValue, double expected)
        {
            var calculator   = new TangentCalculator();
            var actualResult = calculator.Calculate(firstValue);

            Assert.AreEqual(expected, actualResult, 0.001);
        }
        public void CosineCalculatorTest()
        {
            TangentCalculator calculator = new TangentCalculator();

            Assert.AreEqual(0, calculator.Calculate(0));
        }