Class LengthAdapterTest

java.lang.Object
org.opentrafficsim.xml.bindings.LengthAdapterTest

public class LengthAdapterTest extends Object
LengthAdapterTest for Length and SignedLength.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck
  • Field Details

    • units

      org.djunits.unit.LengthUnit[] units
      the allowed units.
    • unitStrings

      String[] unitStrings
      the corresponding strings.
  • Constructor Details

    • LengthAdapterTest

      public LengthAdapterTest()
  • Method Details

    • testSignedLengthAdapter

      @Test public void testSignedLengthAdapter() throws javax.xml.bind.JAXBException
      Test the SignedLengthAdapter
      Throws:
      javax.xml.bind.JAXBException
    • testLengthAdapter

      public void testLengthAdapter() throws javax.xml.bind.JAXBException
      Test the LengthAdapter
      Throws:
      javax.xml.bind.JAXBException