public class UnitsTest extends Object
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
UnitsTest() |
Modifier and Type | Method and Description |
---|---|
void |
testAccelerationUnits()
Test the basics of the AccelerationUnits parser.
|
void |
testAngleUnits()
Test the basics of the AngleUnits parser.
|
void |
testDirectionUnits()
Test the basics of the AngleUnits parser.
|
void |
testDurationUnits()
Test the basics of the TimeUnits parser.
|
void |
testFrequencyUnits()
Test the basics of the FrequencyUnits parser.
|
void |
testLengthUnits()
Test the basics of the LengthUnits parser.
|
void |
testPerLengthUnits()
Test the basics of the LengthUnits parser.
|
void |
testPosition()
Test the basics of the LengthUnits parser.
|
void |
testSpeedUnits()
Test the basics of the SpeedUnits parser.
|
void |
testTimeUnits()
Test the basics of the TimeUnits parser.
|
public final void testAccelerationUnits() throws org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.network.NetworkException
- if that happens uncaught; this test has failedpublic final void testAngleUnits() throws org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.network.NetworkException
- if that happens uncaught; this test has failedpublic final void testDirectionUnits() throws org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.network.NetworkException
- if that happens uncaught; this test has failedpublic final void testLengthUnits() throws org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.network.NetworkException
- if that happens uncaught; this test has failedpublic final void testPosition() throws org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.network.NetworkException
- if that happens uncaught; this test has failedpublic final void testPerLengthUnits() throws org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.network.NetworkException
- if that happens uncaught; this test has failedpublic final void testTimeUnits() throws org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.network.NetworkException
- if that happens uncaught; this test has failedpublic final void testDurationUnits() throws org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.network.NetworkException
- if that happens uncaught; this test has failedpublic final void testFrequencyUnits() throws org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.network.NetworkException
- if that happens uncaught; this test has failedpublic final void testSpeedUnits() throws org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.network.NetworkException
- if that happens uncaught; this test has failedCopyright © 2014–2019 Delft University of Technology. All rights reserved.