@SpecVersion(spec="JSR 385",
version="2.0.0")
public class UnitConversionTest
extends Object
| Constructor and Description |
|---|
UnitConversionTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testEnsureGotConverters()
Ensure at least one UnitConverter implementation is available/registered.
|
void |
testUnitConverterConcatenate()
Ensure the concatenate() operation is implemented.
|
void |
testUnitConverterConvert()
Ensure the convert() operation is implemented.
|
void |
testUnitConverterConvertWithDouble()
Ensure the convert() operation is implemented.
|
void |
testUnitConverterEquals()
Test that UnitConverter implementations override equals.
|
void |
testUnitConverterGetConversionSteps()
Ensure the getConversionSteps() operation is implemented.
|
void |
testUnitConverterHashcode()
Test that UnitConverter implementations override hashCode.
|
void |
testUnitConverterInvert()
Ensure the inverse() method is implemented.
|
void |
testUnitConverterIsIdentity()
Ensure the isIdentity() operation is implemented.
|
void |
testUnitConverterIsLinear()
Ensure the isLinear() operation is implemented.
|
public UnitConversionTest()
@SpecAssertion(section="4.2.3",
id="423-A3")
public void testEnsureGotConverters()
@SpecAssertion(section="4.2.3",
id="423-A4")
public void testUnitConverterEquals()
@SpecAssertion(section="4.2.3",
id="423-A5")
public void testUnitConverterHashcode()
@SpecAssertion(section="4.2.3",
id="423-A6")
public void testUnitConverterInvert()
@SpecAssertion(section="4.2.3",
id="423-A7")
public void testUnitConverterIsIdentity()
@SpecAssertion(section="4.2.3",
id="423-A8")
public void testUnitConverterIsLinear()
@SpecAssertion(section="4.2.3",
id="423-A9")
public void testUnitConverterConvert()
@SpecAssertion(section="4.2.3",
id="423-A10")
public void testUnitConverterConvertWithDouble()
@SpecAssertion(section="4.2.3",
id="423-A11")
public void testUnitConverterConcatenate()
@SpecAssertion(section="4.2.3",
id="423-A12")
public void testUnitConverterGetConversionSteps()
Copyright © 2005–2018 Units of Measurement project. All rights reserved.