Package org.djunits.unit
Class AbsoluteTemperatureUnitTest
java.lang.Object
org.djunits.unit.AbstractUnitTest<OU>
org.djunits.unit.AbstractOffsetUnitTest<AbsoluteTemperatureUnit>
org.djunits.unit.AbsoluteTemperatureUnitTest
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 temperature unit; i.c.final void
setup()
Set the locale to "en" so we know what texts should be retrieved from the resources.final void
Verify relative base unit.Methods inherited from class org.djunits.unit.AbstractOffsetUnitTest
checkUnitRatioOffsetNameAndAbbreviation, getMultiplicationFactorTo
Methods inherited from class org.djunits.unit.AbstractUnitTest
checkUnitNameAndAbbreviation
-
Constructor Details
-
AbsoluteTemperatureUnitTest
public AbsoluteTemperatureUnitTest()
-
-
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. -
createAbsoluteTempteratureUnit
@Test public final void createAbsoluteTempteratureUnit()Verify that we can create our own temperature unit; i.c. Newton. -
testRelative
@Test public final void testRelative()Verify relative base unit.
-