Class PrefixInterfaceTest


  • @SpecVersion(spec="JSR 385",
                 version="2.1.0")
    public class PrefixInterfaceTest
    extends Object
    Tests for Unit Conversion
    Since:
    2.0
    Version:
    2.0, November 15, 2020
    Author:
    Werner Keil
    • 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.