Пример #1
0
 public void NotEqualCorrectlyConvertsToJson()
 {
     var neq = new NotEqual<string>("foo");
     neq.ToString().ShouldEqual(NotEqualJson);
 }
Пример #2
0
        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));
        }
Пример #3
0
        public void NotEqualCorrectlyConvertsToJson()
        {
            var neq = new NotEqual <string>("foo");

            neq.ToString().ShouldEqual(NotEqualJson);
        }
Пример #4
0
        public void NotEqualToString()
        {
            var exp = new NotEqual(new Number(5), new Number(5));

            Assert.Equal("5 != 5", exp.ToString(commoonFormatter));
        }