Package org.djunits.unit
Class AccelerationUnitTest
Copyright (c) 2013-2025 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 -
Method Summary
Modifier and TypeMethodDescriptionfinal voidVerify conversion factors, English names and abbreviations.final voidVerify that we can create our own Acceleration unit.final voidCheck that g is about 9.8 m/s/s.final voidsetup()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, getMultiplicationFactorToMethods inherited from class org.djunits.unit.AbstractUnitTest
checkUnitNameAndAbbreviation
-
Constructor Details
-
AccelerationUnitTest
public AccelerationUnitTest()
-
-
Method Details
-
setup
@BeforeEach public final void setup()Set the locale to "en" so we know what texts should be retrieved from the resources. -
conversions
@Test public final void conversions()Verify conversion factors, English names and abbreviations. -
gravityConstant
@Test public final void gravityConstant()Check that g is about 9.8 m/s/s. -
createAccelerationUnit
@Test public final void createAccelerationUnit()Verify that we can create our own Acceleration unit.
-