Class QuantityFactoryTest

java.lang.Object
tech.units.tck.tests.spi.QuantityFactoryTest

@SpecVersion(spec="JSR 385", version="2.2") public class QuantityFactoryTest extends Object
Tests for QuantityFactory
Since:
1.0
Version:
2.3, September 24, 2023
Author:
Werner Keil
  • Constructor Details

  • Method Details

    • 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