Пример #1
0
        public void ExecuteTest()
        {
            var exp = new Lb(new Number(2));

            Assert.Equal(Math.Log(2, 2), exp.Execute());
        }
Пример #2
0
        public void ExecuteTestException()
        {
            var exp = new Lb(new Bool(false));

            Assert.Throws <ResultIsNotSupportedException>(() => exp.Execute());
        }
Пример #3
0
        public void ExecuteTest()
        {
            var exp = new Lb(new Number(2));

            Assert.Equal(Math.Log(2, 2), exp.Execute());
        }