Пример #1
0
        public void FuncTangent_PositiveNumbers_Success()
        {
            double arg    = Double.Parse("3,7");
            var    result = ScientificCalculatorController.FuncTangent(arg);

            Assert.AreEqual(result, Math.Tan(arg));
        }
Пример #2
0
        public void FuncBase10Logarithm_PositiveNumbers_Success()
        {
            double arg    = Double.Parse("3,7");
            var    result = ScientificCalculatorController.FuncBase10Logarithm(arg);

            Assert.AreEqual(result, Math.Log10(arg));
        }