@Test(expected = IllegalArgumentException.class)
  public void testDivideByNegativeLong() {
    final MemorySize memory = new MemorySize(100L);
    memory.divide(-23L);
  }
Tests for the {@link MemorySize} class.
amoro-common/src/test/java/org/apache/amoro/utils/MemorySizeTest.java