public void NotEqualCorrectlyConvertsToJson() { var neq = new NotEqual<string>("foo"); neq.ToString().ShouldEqual(NotEqualJson); }
public void NotEqualNotEqualToString() { var exp = new NotEqual(new Bool(true), new NotEqual(new Number(5), new Number(5))); Assert.Equal("True != (5 != 5)", exp.ToString(commoonFormatter)); }
public void NotEqualCorrectlyConvertsToJson() { var neq = new NotEqual <string>("foo"); neq.ToString().ShouldEqual(NotEqualJson); }
public void NotEqualToString() { var exp = new NotEqual(new Number(5), new Number(5)); Assert.Equal("5 != 5", exp.ToString(commoonFormatter)); }