Package tech.units.tck.tests.unit
Class PrefixInterfaceTest
- java.lang.Object
-
- tech.units.tck.tests.unit.PrefixInterfaceTest
-
@SpecVersion(spec="JSR 385", version="2.1.0") public class PrefixInterfaceTest extends ObjectTests for Unit Conversion- Since:
- 2.0
- Version:
- 2.0, November 15, 2020
- Author:
- Werner Keil
-
-
Constructor Summary
Constructors Constructor Description PrefixInterfaceTest()
-
Method Summary
Modifier and Type Method Description voidtestEquals()Test that Dimension implementations override equals.voidtestGetName()Test that Prefix implementations override getName.voidtestGetSymbol()Test that Prefix implementations override getSymbol.voidtestGetValue()Test that Prefix implementations override getValue.voidtestGetXponent()Test that Prefix implementations override getExponent.voidtestHashcode()Test that Dimension implementations override hashCode.
-
-
-
Constructor Detail
-
PrefixInterfaceTest
public PrefixInterfaceTest()
-
-
Method Detail
-
testEquals
@SpecAssertion(section="4.2.4", id="424-A1") public void testEquals()Test that Dimension implementations override equals.
-
testHashcode
@SpecAssertion(section="4.2.4", id="424-A2") public void testHashcode()Test that Dimension implementations override hashCode.
-
testGetName
@SpecAssertion(section="4.2.4", id="424-A3") public void testGetName()Test that Prefix implementations override getName.
-
testGetSymbol
@SpecAssertion(section="4.2.4", id="424-A4") public void testGetSymbol()Test that Prefix implementations override getSymbol.
-
testGetValue
@SpecAssertion(section="4.2.4", id="424-A5") public void testGetValue()Test that Prefix implementations override getValue.
-
testGetXponent
@SpecAssertion(section="4.2.4", id="424-A6") public void testGetXponent()Test that Prefix implementations override getExponent.
-
-