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); }
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); }