Package org.djunits.unit
Class DensityUnitTest
java.lang.Object
org.djunits.unit.AbstractUnitTest<U>
org.djunits.unit.AbstractLinearUnitTest<org.djunits.unit.DensityUnit>
org.djunits.unit.DensityUnitTest
public class DensityUnitTest extends AbstractLinearUnitTest<org.djunits.unit.DensityUnit>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
- Author:
- Alexander Verbraeck
-
Constructor Summary
Constructors Constructor Description DensityUnitTest()
-
Method Summary
Modifier and Type Method Description void
conversions()
Verify conversion factors, English names and abbreviations.void
createDensityUnit()
Verify that we can create our own density unit.void
setup()
Set the locale to "en" so we know what texts should be retrieved from the resources.Methods inherited from class org.djunits.unit.AbstractLinearUnitTest
checkUnitRatioNameAndAbbreviation, getMultiplicationFactorTo
-
Constructor Details
-
DensityUnitTest
public DensityUnitTest()
-
-
Method Details
-
setup
public final void setup()Set the locale to "en" so we know what texts should be retrieved from the resources. -
conversions
public final void conversions()Verify conversion factors, English names and abbreviations. -
createDensityUnit
public final void createDensityUnit()Verify that we can create our own density unit.
-