private void GetUserHeaderSizeTestAssert(int expected) { FileWithHeader target = InitFWH("GetFWHUserHeaderSizeTest", expected); try { int actual = target.GetUserHeaderSize(); Assert.AreEqual(expected, actual); } finally { target.Close(); } }
public int GetUserHeaderSize() { return(_fileWithHeader.GetUserHeaderSize() - GetElementSizeSize()); }
public int GetUserHeaderSize() { return(_file.GetUserHeaderSize() - GetFreeSpaceHeadSize()); }