Пример #1
0
        public void ExecuteTest2()
        {
            var complex = new Complex(2, 3);
            var exp = new Lg(new ComplexNumber(complex));

            Assert.Equal(Complex.Log10(complex), exp.Execute());
        }
Пример #2
0
        public void ExecuteTest1()
        {
            var exp = new Lg(new Number(2));

            Assert.Equal(Math.Log10(2), exp.Execute());
        }