Class DoubleScalarTest

java.lang.Object
org.djunits.value.vdouble.scalar.DoubleScalarTest

public class DoubleScalarTest extends Object
Test the DoubleScalar class.

This file was generated by the djunits value test classes generator, 26 jun, 2015

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

Author:
Alexander Verbraeck, Peter Knoppers
  • Constructor Details

    • DoubleScalarTest

      public DoubleScalarTest()
  • Method Details

    • toStringAbsTest

      @Test public final void toStringAbsTest()
      Test that the toString method returns something sensible.
    • basicsAbsTest

      @Test public final void basicsAbsTest()
      Test constructor, verify the various fields in the constructed objects, test conversions to related units.
    • testAllOf

      Test all "of" methods.
      Throws:
      SecurityException - on error
      NoSuchMethodException - on error
      InvocationTargetException - on error
      IllegalArgumentException - on error
      IllegalAccessException - on error
      ClassNotFoundException - on error
      UnitException - on error
    • testAbsPlus

      Test the plus method of absolutes.
      Throws:
      ClassNotFoundException - on error
      InvocationTargetException - on error
      IllegalArgumentException - on error
      IllegalAccessException - on error
      SecurityException - on error
      NoSuchMethodException - on error
      InstantiationException - on error
    • equalsAbsTest

      @Test public final void equalsAbsTest()
      Test the equals method.
    • relOpAbsTest

      @Test public final void relOpAbsTest()
      Test the relational operations.
    • mathFunctionsTestAbsTest

      @Test public final void mathFunctionsTestAbsTest()
      Test the Math functions.
    • binaryplusOfAbsAndRelTest

      @Test public final void binaryplusOfAbsAndRelTest()
      Test plus(DoubleScalarAbs, DoubleScalarRel).
    • binaryminusOfAbsAndRelTest

      @Test public final void binaryminusOfAbsAndRelTest()
      Test minus(DoubleScalarAbs, DoubleScalarRel).
    • binaryminusOfAbsAndAbsTest

      @Test public final void binaryminusOfAbsAndAbsTest()
      Test minus(DoubleScalarAbs, DoubleScalarRel).
    • interpolateTest

      @Test public final void interpolateTest()
      Test the interpolate methods. Also does the FloatXXX versions.
    • maxAndMinTest

      @Test public void maxAndMinTest()
      Test the max and min methods.
    • toStringRelTest

      @Test public final void toStringRelTest()
      Test that the toString method returns something sensible.
    • basicsRelTest

      @Test public final void basicsRelTest()
      Test constructor, verify the various fields in the constructed objects, test conversions to related units.
    • equalsRelTest

      @Test public final void equalsRelTest()
      Test the equals method.
    • relOpRelTest

      @Test public final void relOpRelTest()
      Test the relational operations.
    • mathFunctionsTestRelTest

      @Test public final void mathFunctionsTestRelTest()
      Test the Math functions.
    • binaryplusOfRelAndRelTest

      @Test public final void binaryplusOfRelAndRelTest()
      Test plus(DoubleScalarRel, DoubleScalarRel).
    • binaryminusOfRelAndRelTest

      @Test public final void binaryminusOfRelAndRelTest()
      Test minus(DoubleScalarRel, DoubleScalarRel).
    • binarymultiplyOfRelAndRelTest

      @Test public final void binarymultiplyOfRelAndRelTest()
      Test multiply(DoubleScalarRel, DoubleScalarRel).
    • binarydivideOfRelAndRelTest

      @Test public final void binarydivideOfRelAndRelTest()
      Test divide(DoubleScalarRel, DoubleScalarRel).