@Test
public void testToString() {

  final Object[][] testParameters = new Object[][] {
      {"1", Unit.AER, Unit.AER.getName() + "(value=1)"},
      {"1", Unit.GAER, Unit.GAER.getName() + "(value=0.000000001)"},
      {"1", Unit.AERGO, Unit.AERGO.getName() + "(value=0.000000000000000001)"},
  };
  for (final Object[] parameters : testParameters) {
    final String value = (String) parameters[0];
    final Unit unit = (Unit) parameters[1];
    final String expected = (String) parameters[2];
    final String actual = Aer.of(value).toString(unit);
    assertEquals(expected, actual);
  }
}