Пример #1
0
        public void CalculateTest(double firstValue, double expected)
        {
            var calculator   = new ArccosineCalculator();
            var actualResult = calculator.Calculate(firstValue);

            Assert.AreEqual(expected, actualResult);
        }
Пример #2
0
        public void ExceptionTest(double firstValue)
        {
            var calculator = new ArccosineCalculator();

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