unsafe public void PageMetaDataListConstructorTest()
        {
            Assert.AreEqual(0, Globals.MemoryPool.AllocatedBytes);

            using (PageList target = new PageList(Globals.MemoryPool))
            {
                target.Dispose();
            }
            Assert.AreEqual(0, Globals.MemoryPool.AllocatedBytes);
            using (PageList target2 = new PageList(Globals.MemoryPool))
            {
                target2.AllocateNewPage(1);
                Assert.AreNotEqual(0, Globals.MemoryPool.AllocatedBytes);
            }

            Assert.AreEqual(0, Globals.MemoryPool.AllocatedBytes);
        }
 public void DisposeTest()
 {
     Assert.AreEqual(0, Globals.MemoryPool.AllocatedBytes);
     using (PageList target = new PageList(Globals.MemoryPool))
     {
         target.AllocateNewPage(0);
         target.Dispose();
         Assert.AreEqual(0, Globals.MemoryPool.AllocatedBytes);
     }
 }