java.lang.Object
tech.units.tck.tests.unit.UnitConversionTest
Tests for Unit Conversion
- Since:
- 1.0
- Version:
- 2.2, October 4, 2023
- Author:
- Werner Keil, Almas Shaikh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Ensure at least one UnitConverter implementation is available/registered.void
Ensure the concatenate() operation is implemented.void
Ensure the convert() operation is implemented.void
Ensure the convert() operation is implemented.void
Test that UnitConverter implementations override equals.void
Ensure the getConversionSteps() operation is implemented.void
Test that UnitConverter implementations override hashCode.void
Ensure the inverse() method is implemented.void
Ensure the isIdentity() operation is implemented.void
Ensure the isLinear() operation is implemented.
-
Constructor Details
-
UnitConversionTest
public UnitConversionTest()
-
-
Method Details
-
testEnsureGotConverters
Ensure at least one UnitConverter implementation is available/registered. -
testUnitConverterEquals
Test that UnitConverter implementations override equals. -
testUnitConverterHashcode
Test that UnitConverter implementations override hashCode. -
testUnitConverterInvert
Ensure the inverse() method is implemented. -
testUnitConverterIsIdentity
Ensure the isIdentity() operation is implemented. -
testUnitConverterIsLinear
Ensure the isLinear() operation is implemented. -
testUnitConverterConvert
Ensure the convert() operation is implemented. -
testUnitConverterConvertWithDouble
Ensure the convert() operation is implemented. -
testUnitConverterConcatenate
Ensure the concatenate() operation is implemented. -
testUnitConverterGetConversionSteps
Ensure the getConversionSteps() operation is implemented.
-