public void DeeplyBound() { SimpleValues simple = new SimpleValueDoubleExtended(); var binder = new Binder <SimpleValues>(simple); Assert.AreEqual(true, binder.DeeplyBound); }
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); }