Package tech.units.tck.tests.spi
Class QuantityFactoryTest
- java.lang.Object
-
- tech.units.tck.tests.spi.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
-
-
Constructor Summary
Constructors Constructor Description QuantityFactoryTest()
-
Method Summary
Modifier and Type Method Description void
testQuantityFactoryExists()
Ensure at least one QuantityFactory implementation existsvoid
testQuantityFactoryScale()
Ensure every QuantityFactory creates quantities with the correct scale
-
-
-
Constructor Detail
-
QuantityFactoryTest
public QuantityFactoryTest()
-
-
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
-
-