public void RoundUp_2Bytes_2_2() { const ulong ELEMENT_SIZE = 2UL; var actual = MgOptimizedStoragePartitionVerifier.UpperBounded(2UL, ELEMENT_SIZE); Assert.AreEqual(2UL, actual); }
public void RoundUp_4Bytes_63_64() { const ulong ELEMENT_SIZE = 4UL; var actual = MgOptimizedStoragePartitionVerifier.UpperBounded(63, ELEMENT_SIZE); Assert.AreEqual(64UL, actual); }