Ejemplo n.º 1
0
        public void ASINCalculator(
            double firstValue,
            double expected)
        {
            ASINCalculator calculator = new ASINCalculator();
            double         actual     = calculator.Calculate(firstValue);

            Assert.AreEqual(expected, actual, 0.001);
        }
Ejemplo n.º 2
0
        public void ASINCalculator()
        {
            ASINCalculator calculator = new ASINCalculator();

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