Package org.djunits.unit
Class EnergyUnitTest
java.lang.Object
org.djunits.unit.AbstractUnitTest<U>
org.djunits.unit.AbstractLinearUnitTest<org.djunits.unit.EnergyUnit>
org.djunits.unit.EnergyUnitTest
Copyright (c) 2013-2024 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
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
Verify conversion factors, English names and abbreviations.final void
Verify that we can create our own Energy unit.final 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
-
Constructor Details
-
EnergyUnitTest
public EnergyUnitTest()
-
-
Method Details
-
setup
Set the locale to "en" so we know what texts should be retrieved from the resources. -
conversions
Verify conversion factors, English names and abbreviations. -
createEnergyUnit
Verify that we can create our own Energy unit.
-