Package org.djunits.formatter
Class TableFormatTest
java.lang.Object
org.djunits.formatter.TableFormatTest
Tests all
TableFormat settings and their effect on matrix formatting.
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 absolute quantity table formatting with prefix separator between number and reference, and postfix after the reference.voidTest prefix separator between number and unit, and postfix after the unit for an absolute quantity table.voidTest the setting and resetting of defaults.voidTest formatting as SI.voidTest format settings for the matrix.
-
Constructor Details
-
TableFormatTest
public TableFormatTest()
-
-
Method Details
-
setup
@BeforeEach final void setup()Setup correct locale for test. -
testTableFormat
@Test public void testTableFormat()Test format settings for the matrix. -
testAbsTablePrefixPostfix
@Test public void testAbsTablePrefixPostfix()Test prefix separator between number and unit, and postfix after the unit for an absolute quantity table. -
testAbsReferencePrefixPostfix
@Test public void testAbsReferencePrefixPostfix()Test absolute quantity table formatting with prefix separator between number and reference, and postfix after the reference. -
testSiFormatting
@Test public void testSiFormatting()Test formatting as SI. -
testDefaults
@Test public void testDefaults()Test the setting and resetting of defaults.
-