public void Equal2Test() { var exp1 = new Undefine(Variable.X); var exp2 = new Undefine(new Variable("y")); Assert.False(exp1.Equals(exp2)); }
public void EqualDiffTypesTest() { var exp1 = new Undefine(Variable.X); var exp2 = new Number(2); Assert.False(exp1.Equals(exp2)); }
public void EqualTest() { var exp1 = new Undefine(Variable.X); var exp2 = new Undefine(Variable.X); Assert.True(exp1.Equals(exp2)); }
public void EqualRefTest() { var exp = new Undefine(Variable.X); Assert.True(exp.Equals(exp)); }