Package org.djunits.unit
Class PositionUnitTest
- java.lang.Object
-
- org.djunits.unit.AbstractUnitTest<OU>
-
- org.djunits.unit.AbstractOffsetUnitTest<PositionUnit>
-
- org.djunits.unit.PositionUnitTest
-
public class PositionUnitTest extends AbstractOffsetUnitTest<PositionUnit>
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.- Author:
- Peter Knoppers
-
-
Constructor Summary
Constructors Constructor Description PositionUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
conversions()
Verify conversion factors, English names and abbreviations.void
createPositionUnit()
Verify that we can create our own PositionUnit.void
setup()
Set the locale to "en" so we know what texts should be retrieved from the resources.void
testRelative()
Verify relative base unit.-
Methods inherited from class org.djunits.unit.AbstractOffsetUnitTest
checkUnitRatioOffsetNameAndAbbreviation, getMultiplicationFactorTo
-
Methods inherited from class org.djunits.unit.AbstractUnitTest
checkUnitNameAndAbbreviation
-
-
-
-
Method Detail
-
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.
-
createPositionUnit
public final void createPositionUnit()
Verify that we can create our own PositionUnit.
-
testRelative
public final void testRelative()
Verify relative base unit.
-
-