Пример #1
0
        public void EqualsTest2()
        {
            var exp1 = new Bool(true);
            var exp2 = new Bool(true);

            Assert.True(exp1.Equals(exp2));
        }
Пример #2
0
        public void EqualsTest()
        {
            var exp1 = new Bool(false);
            var exp2 = new Bool(true);

            Assert.False(exp1.Equals(exp2));
        }
Пример #3
0
        public void ToStringTest()
        {
            var exp = new Bool(false);

            Assert.Equal("False", exp.ToString());
        }
Пример #4
0
        public void ExecuteTest3()
        {
            var exp = new Bool(false);

            Assert.False(exp);
        }
Пример #5
0
        public void ExecuteTest2()
        {
            var exp = new Bool(false);

            Assert.False((bool)exp.Execute(null));
        }