Class UnitFormatTest

java.lang.Object
org.djunits.formatter.UnitFormatTest

public class UnitFormatTest extends Object
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 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.