Пример #1
0
        public void CloneTest()
        {
            var exp   = new Derivative(null, null, new Sin(Variable.X), Variable.X, new Number(1));
            var clone = exp.Clone();

            Assert.Equal(exp, clone);
        }
Пример #2
0
        public void CloneTest()
        {
            var exp   = new Derivative(new Sin(new Variable("x")), new Variable("x"), new Number(1));
            var clone = exp.Clone();

            Assert.Equal(exp, clone);
        }