public void TestCallK() { LuaState L = null; using (L = new LuaState()) { L.PushFunction(l => { var a = L.ToNumber(1); var b = L.ToNumber(2); L.PushNumber(a * b); return 1; }); L.PushNumber(12); L.PushNumber(4); Assert.Throws<NotImplementedException>(() => L.CallK(2, 1, 0, null)); } }