Ensure at least one Prefix implementation is available/registered.
Should be refined, because the API already contains the two most common Prefix implementations.
In addition to rephrasing it as "at least two" we may consider a type-check that MetricPrefix and BinaryPrefix are always part of that list.
In the ServicesTest for SystemOfUnitsService the method returning a Set of Prefix may also check, that MetricPrefix and BinaryPrefix are always part of the Set. And the minimum size is 2.
The FundamentalTypesTest already checks for prefixes,
The test description
Should be refined, because the API already contains the two most common
Prefix
implementations. In addition to rephrasing it as "at least two" we may consider a type-check thatMetricPrefix
andBinaryPrefix
are always part of that list.In the
ServicesTest
forSystemOfUnitsService
the method returning aSet
ofPrefix
may also check, thatMetricPrefix
andBinaryPrefix
are always part of theSet
. And the minimum size is 2.