private void GetUserHeaderSizeTestAssert(int expected)
        {
            FileWithHeader target = InitFWH("GetFWHUserHeaderSizeTest", expected);

            try
            {
                int actual = target.GetUserHeaderSize();
                Assert.AreEqual(expected, actual);
            }
            finally
            {
                target.Close();
            }
        }
Esempio n. 2
0
 public int GetUserHeaderSize()
 {
     return(_fileWithHeader.GetUserHeaderSize() - GetElementSizeSize());
 }
Esempio n. 3
0
 public int GetUserHeaderSize()
 {
     return(_file.GetUserHeaderSize() - GetFreeSpaceHeadSize());
 }