@Test
  public void testUpperCase() {
    assertEquals(1L, MemorySize.parse("1 B").getBytes());
    assertEquals(1L, MemorySize.parse("1 K").getKibiBytes());
    assertEquals(1L, MemorySize.parse("1 M").getMebiBytes());
    assertEquals(1L, MemorySize.parse("1 G").getGibiBytes());
    assertEquals(1L, MemorySize.parse("1 T").getTebiBytes());
  }
Tests for the {@link MemorySize} class.
amoro-common/src/test/java/org/apache/amoro/utils/MemorySizeTest.java