Beispiel #1
0
        public void ExecuteTest2()
        {
            var exp = new Not(new Number(2.5));

            Assert.Equal(-4.0, exp.Execute());
        }
Beispiel #2
0
        public void ExecuteTest3()
        {
            var exp = new Not(new Bool(true));

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

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