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.
$LastChangedDate: 2019-03-02 19:06:46 +0100 (Sat, 02 Mar 2019) $, @version $Revision: 342 $, by $Author: averbraeck $,
initial version Jun 5, 2014
Constructor and Description |
---|
DensityUnitTest() |
Modifier and Type | Method and Description |
---|---|
void |
conversions()
Verify conversion factors, English names and abbreviations.
|
void |
createDensityUnit()
Verify that we can create our own density unit.
|
void |
keys()
Verify the result of some get*Key methods.
|
void |
setup()
Set the locale to "en" so we know what texts should be retrieved from the resources.
|
checkUnitRatioNameAndAbbreviation, getMultiplicationFactorTo
checkKeys, checkUnitNameAndAbbreviation
public final void setup()
public final void keys()
public final void conversions()
public final void createDensityUnit()
Copyright © 2015–2019 Delft University of Technology. All rights reserved.