Package tech.units.tck.tests.spi
Class SystemOfUnitsTest
- java.lang.Object
-
- tech.units.tck.tests.spi.SystemOfUnitsTest
-
@SpecVersion(spec="JSR 385", version="2.1.0") public class SystemOfUnitsTest extends Object
Tests for SystemOfUnits- Since:
- 1.0
- Version:
- 2.1, November 15, 2020
- Author:
- Werner Keil
-
-
Constructor Summary
Constructors Constructor Description SystemOfUnitsTest()
-
Method Summary
Modifier and Type Method Description void
testEnsureGotSystemOfUnits()
Ensure at least one SystemOfUnits implementation exists.void
testSystemOfUnitsGetName()
Ensure the getName() method is implemented.void
testSystemOfUnitsGetUnit()
Ensure the getUnit() method is implemented.void
testSystemOfUnitsGetUnitForString()
Ensure the getUnit() method is implemented.void
testSystemOfUnitsGetUnits()
Ensure the getUnits() method is implemented.void
testSystemOfUnitsGetUnitsForDimension()
Ensure the getUnits() method is implemented.
-
-
-
Constructor Detail
-
SystemOfUnitsTest
public SystemOfUnitsTest()
-
-
Method Detail
-
testEnsureGotSystemOfUnits
@SpecAssertion(section="5.2", id="52-A1") public void testEnsureGotSystemOfUnits()
Ensure at least one SystemOfUnits implementation exists.
-
testSystemOfUnitsGetName
@SpecAssertion(section="5.2", id="52-A2") public void testSystemOfUnitsGetName()
Ensure the getName() method is implemented.
-
testSystemOfUnitsGetUnit
@SpecAssertion(section="5.2", id="52-A3") public void testSystemOfUnitsGetUnit()
Ensure the getUnit() method is implemented.
-
testSystemOfUnitsGetUnitForString
@SpecAssertion(section="5.2", id="52-A4") public void testSystemOfUnitsGetUnitForString()
Ensure the getUnit() method is implemented.- Since:
- 2.0
-
testSystemOfUnitsGetUnits
@SpecAssertion(section="5.2", id="52-A5") public void testSystemOfUnitsGetUnits()
Ensure the getUnits() method is implemented.
-
testSystemOfUnitsGetUnitsForDimension
@SpecAssertion(section="5.2", id="52-A6") public void testSystemOfUnitsGetUnitsForDimension()
Ensure the getUnits() method is implemented.
-
-