public void RegisteredBooleanTypeFunctionDoesExist() { var engine = new Engine(); TypeFunctions.Register <Boolean>(_ => args => args[0]); var result = engine.Interpret("true(3)"); TypeFunctions.Unregister <Boolean>(); Assert.AreEqual(3.0, result); }