Package tech.units.tck.tests.spi
Class ObtainingUnitsTest
- java.lang.Object
-
- tech.units.tck.tests.spi.ObtainingUnitsTest
-
@SpecVersion(spec="JSR 385", version="2.1.0") public class ObtainingUnitsTest extends Object
Test class for obtaining units.- Since:
- 1.0
- Version:
- 1.2, November 15, 2020
- Author:
- Werner Keil
-
-
Constructor Summary
Constructors Constructor Description ObtainingUnitsTest()
-
Method Summary
Modifier and Type Method Description void
testGetUnitsFromSystemOfUnits()
Access a SystemOfUnits for each registered unit.void
testGetUnitsFromUnitString()
Try parsing the symbol for each registered unit.
-
-
-
Constructor Detail
-
ObtainingUnitsTest
public ObtainingUnitsTest()
-
-
Method Detail
-
testGetUnitsFromSystemOfUnits
@SpecAssertion(section="5.5.1", id="551-A1") public void testGetUnitsFromSystemOfUnits()
Access a SystemOfUnits for each registered unit.
-
testGetUnitsFromUnitString
@SpecAssertion(section="5.5.2", id="552-A1") public void testGetUnitsFromUnitString()
Try parsing the symbol for each registered unit.
-
-