Beispiel #1
0
        public void ArctangentTest(double firstValue, double expected)
        {
            var calculator   = new ArctangentCalculator();
            var actualResult = calculator.Calculate(firstValue);

            Assert.AreEqual(expected, actualResult, 0.001);
        }
Beispiel #2
0
        public void CosineCalculatorTest()
        {
            ArctangentCalculator calculator = new ArctangentCalculator();

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