Package tech.units.tck.tests.unit
Class PrefixInterfaceTest
java.lang.Object
tech.units.tck.tests.unit.PrefixInterfaceTest
@SpecVersion(spec="JSR 385", version="2.1.1") public class PrefixInterfaceTest extends Object
Tests 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 void
testEquals()
Test that Dimension implementations override equals.void
testGetName()
Test that Prefix implementations override getName.void
testGetSymbol()
Test that Prefix implementations override getSymbol.void
testGetValue()
Test that Prefix implementations override getValue.void
testGetXponent()
Test that Prefix implementations override getExponent.void
testHashcode()
Test that Dimension implementations override hashCode.
-
Constructor Details
-
PrefixInterfaceTest
public PrefixInterfaceTest()
-
-
Method Details
-
testEquals
Test that Dimension implementations override equals. -
testHashcode
Test that Dimension implementations override hashCode. -
testGetName
Test that Prefix implementations override getName. -
testGetSymbol
Test that Prefix implementations override getSymbol. -
testGetValue
Test that Prefix implementations override getValue. -
testGetXponent
Test that Prefix implementations override getExponent.
-