Class LinearDensityUnitTest

java.lang.Object
org.djunits.unit.AbstractUnitTest<U>
org.djunits.unit.AbstractLinearUnitTest<org.djunits.unit.LinearDensityUnit>
org.djunits.unit.LinearDensityUnitTest

public class LinearDensityUnitTest extends AbstractLinearUnitTest<org.djunits.unit.LinearDensityUnit>

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 Details

    • LinearDensityUnitTest

      public LinearDensityUnitTest()
  • 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.
    • createLinearDensityUnit

      @Test public final void createLinearDensityUnit()
      Verify that we can create our own LinearDensity unit.