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

            Assert.AreEqual(expected, actualResult, 0.0001);
        }
Beispiel #2
0
        public void ExceptionTest(double firstArgument)
        {
            var calculator = new ArcSin();

            Assert.Throws <Exception>(() => calculator.Calculate(firstArgument));
        }