Class QuantityFactoryTest


  • @SpecVersion(spec="JSR 385",
                 version="2.1.0")
    public class QuantityFactoryTest
    extends Object
    Tests for QuantityFactory
    Since:
    1.0
    Version:
    2.0, November 15, 2020
    Author:
    Werner Keil
    • Method Detail

      • testQuantityFactoryExists

        @SpecAssertion(section="5.1",
                       id="51-A1")
        public void testQuantityFactoryExists()
        Ensure at least one QuantityFactory implementation exists
      • testQuantityFactoryScale

        @SpecAssertion(section="5.1",
                       id="51-A2")
        public void testQuantityFactoryScale()
        Ensure every QuantityFactory creates quantities with the correct scale
        Since:
        2.0