Beispiel #1
0
        private void GetElementSizeTestAssert(int expected)
        {
            IPersistentArrayNextSpace target = InitPA("GetPAElementSizeTest", expected, 16);

            try
            {
                int actual = target.GetElementSize();
                Assert.AreEqual(expected, actual);
            }
            finally
            {
                target.Close();
            }
        }
 public int GetElementSize()
 {
     return(_simpleCollectionNextSpace.GetElementSize());
 }
 public PersistentCollectionSpaceManager(string simpleCollection)
 {
     _simpleCollectionNextSpace = new PersistentNextSpaceArray(simpleCollection);
     AssertElementSize(_simpleCollectionNextSpace.GetElementSize());
 }
 public PersistentCollectionSpaceManager(string simpleCollection)
 {
     _simpleCollectionNextSpace = new PersistentNextSpaceArray(simpleCollection);
     AssertElementSize(_simpleCollectionNextSpace.GetElementSize());
 }