Example #1
0
        public void ExecuteTest2()
        {
            var exp = new Or(new Number(4), new Number(2.5));

            Assert.Equal(7.0, exp.Execute());
        }
Example #2
0
        public void ExecuteTest4()
        {
            var exp = new Or(new Bool(false), new Bool(false));

            Assert.Equal(false, exp.Execute());
        }
Example #3
0
        public void ExecuteTest1()
        {
            var exp = new Or(new Number(1), new Number(2));

            Assert.Equal(3.0, exp.Execute());
        }