@ParameterizedTest
  @CsvSource({
    "987654g, 987654",
    "987654 g, 987654",
    "987654gb, 987654",
    "987654 gb, 987654",
    "987654gibibytes, 987654",
    "987654 gibibytes, 987654"
  })
  public void testParseGibiBytes(String input, int expected) {
    assertEquals(expected, MemorySize.parse(input).getGibiBytes());
  }
Tests for the {@link MemorySize} class.
amoro-common/src/test/java/org/apache/amoro/utils/MemorySizeTest.java