Ejemplo n.º 1
0
        public void DeeplyBound()
        {
            SimpleValues simple = new SimpleValueDoubleExtended();
            var          binder = new Binder <SimpleValues>(simple);

            Assert.AreEqual(true, binder.DeeplyBound);
        }
Ejemplo n.º 2
0
        public void DoubleExtendedClassDeepBindInvokeInheritedStaticMethod()
        {
            SimpleValues simple = new SimpleValueDoubleExtended();
            var          lambda = LambdaCompiler.Compile(simple, "+(get-static(), extended-function(20), extended-function-2(3))", true);
            var          result = lambda();

            Assert.AreEqual(90, result);
        }