Package org.djunits.value.vdouble.scalar
Class DoubleScalarTest
java.lang.Object
org.djunits.value.vdouble.scalar.DoubleScalarTest
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
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static interface
(package private) static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
Test constructor, verify the various fields in the constructed objects, test conversions to related units.final void
Test constructor, verify the various fields in the constructed objects, test conversions to related units.final void
Test divide(DoubleScalarRel, DoubleScalarRel).final void
Test minus(DoubleScalarAbs, DoubleScalarRel).final void
Test minus(DoubleScalarAbs, DoubleScalarRel).final void
Test minus(DoubleScalarRel, DoubleScalarRel).final void
Test multiply(DoubleScalarRel, DoubleScalarRel).final void
Test plus(DoubleScalarAbs, DoubleScalarRel).final void
Test plus(DoubleScalarRel, DoubleScalarRel).final void
Test the equals method.final void
Test the equals method.final void
Test the interpolate methods.final void
Test the Math functions.final void
Test the Math functions.void
Test the max and min methods.final void
Test the relational operations.final void
Test the relational operations.final void
Test the plus method of absolutes.void
Test all "of" methods.final void
Test that the toString method returns something sensible.final void
Test that the toString method returns something sensible.
-
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 public void testAllOf() throws NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, ClassNotFoundException, UnitExceptionTest all "of" methods.- Throws:
SecurityException
- on errorNoSuchMethodException
- on errorInvocationTargetException
- on errorIllegalArgumentException
- on errorIllegalAccessException
- on errorClassNotFoundException
- on errorUnitException
- on error
-
testAbsPlus
@Test public final void testAbsPlus() throws ClassNotFoundException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, InstantiationExceptionTest the plus method of absolutes.- Throws:
ClassNotFoundException
- on errorInvocationTargetException
- on errorIllegalArgumentException
- on errorIllegalAccessException
- on errorSecurityException
- on errorNoSuchMethodException
- on errorInstantiationException
- 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).
-