Package org.djunits.unit
Class AccelerationUnitTest
- java.lang.Object
-
- org.djunits.unit.AbstractUnitTest<U>
-
- org.djunits.unit.AbstractLinearUnitTest<AccelerationUnit>
-
- org.djunits.unit.AccelerationUnitTest
-
public class AccelerationUnitTest extends AbstractLinearUnitTest<AccelerationUnit>
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 AccelerationUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
conversions()
Verify conversion factors, English names and abbreviations.void
createAccelerationUnit()
Verify that we can create our own Acceleration unit.void
gravityConstant()
Check that g is about 9.8 m/s/s.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
-
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.
-
gravityConstant
public final void gravityConstant()
Check that g is about 9.8 m/s/s.
-
createAccelerationUnit
public final void createAccelerationUnit()
Verify that we can create our own Acceleration unit.
-
-