[TestMethod] public void FinalizeLuaTable() { using (var lua = new Lua()) { GcUtil.NewTest(() => lua.NewTable()).Kill(); Assert.AreEqual(1, lua.CleanLeaks()); #if DEBUG Assert.AreEqual(1u, Lua.PopLeakCount()); #endif } }