Package org.djunits.formatter
Class UnitFormatTest
java.lang.Object
org.djunits.formatter.UnitFormatTest
Tests all
QuantityFormat settings that have an effect on the formatting of the unit.
Copyright (c) 2026-2026 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djunits.org. The DJUNITS project is distributed under a three-clause BSD-style license.
- Author:
- Alexander Verbraeck
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final voidsetup()Setup correct locale for test.voidTest display / textual format.voidTest display unit.voidTest SI unit format.
-
Constructor Details
-
UnitFormatTest
public UnitFormatTest()
-
-
Method Details
-
setup
@BeforeEach final void setup()Setup correct locale for test. -
testDisplayUnit
@Test public void testDisplayUnit()Test display unit. -
testDisplayTextual
@Test public void testDisplayTextual()Test display / textual format. -
testSIUnits
@Test public void testSIUnits()Test SI unit format.
-