Package tech.units.tck.tests.spi
Class SystemOfUnitsTest
java.lang.Object
tech.units.tck.tests.spi.SystemOfUnitsTest
@SpecVersion(spec="JSR 385",
version="2.1.1")
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 voidtestEnsureGotSystemOfUnits()Ensure at least one SystemOfUnits implementation exists.voidtestSystemOfUnitsGetName()Ensure the getName() method is implemented.voidtestSystemOfUnitsGetUnit()Ensure the getUnit() method is implemented.voidtestSystemOfUnitsGetUnitForString()Ensure the getUnit() method is implemented.voidtestSystemOfUnitsGetUnits()Ensure the getUnits() method is implemented.voidtestSystemOfUnitsGetUnitsForDimension()Ensure the getUnits() method is implemented.
-
Constructor Details
-
SystemOfUnitsTest
public SystemOfUnitsTest()
-
-
Method Details
-
testEnsureGotSystemOfUnits
Ensure at least one SystemOfUnits implementation exists. -
testSystemOfUnitsGetName
Ensure the getName() method is implemented. -
testSystemOfUnitsGetUnit
Ensure the getUnit() method is implemented. -
testSystemOfUnitsGetUnitForString
Ensure the getUnit() method is implemented.- Since:
- 2.0
-
testSystemOfUnitsGetUnits
Ensure the getUnits() method is implemented. -
testSystemOfUnitsGetUnitsForDimension
Ensure the getUnits() method is implemented.
-