final double expected, final Unit<Q> unitExpected,
final double actual, final Unit<Q> unitActual)
{
UnitConverter converter = unitActual.getConverterTo(unitExpected);
assertEquals(expected, converter.convert(actual), 1E-6);
converter = converter.inverse();
assertEquals(actual, converter.convert(expected), 1E-6);
}
/**
* Checks the conversions using {@link Units#SEXAGESIMAL_DMS}.