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 that the toString method returns something sensible. -
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, org.djunits.unit.util.UnitExceptionTest all "of" methods.- Throws:
SecurityException
- on errorNoSuchMethodException
- on errorInvocationTargetException
- on errorIllegalArgumentException
- on errorIllegalAccessException
- on errorClassNotFoundException
- on errororg.djunits.unit.util.UnitException
- 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 the equals method. -
relOpAbsTest
Test the relational operations. -
mathFunctionsTestAbsTest
Test the Math functions. -
binaryplusOfAbsAndRelTest
Test plus(DoubleScalarAbs, DoubleScalarRel). -
binaryminusOfAbsAndRelTest
Test minus(DoubleScalarAbs, DoubleScalarRel). -
binaryminusOfAbsAndAbsTest
Test minus(DoubleScalarAbs, DoubleScalarRel). -
interpolateTest
Test the interpolate methods. Also does the FloatXXX versions. -
maxAndMinTest
Test the max and min methods. -
toStringRelTest
Test that the toString method returns something sensible. -
basicsRelTest
Test constructor, verify the various fields in the constructed objects, test conversions to related units. -
equalsRelTest
Test the equals method. -
relOpRelTest
Test the relational operations. -
mathFunctionsTestRelTest
Test the Math functions. -
binaryplusOfRelAndRelTest
Test plus(DoubleScalarRel, DoubleScalarRel). -
binaryminusOfRelAndRelTest
Test minus(DoubleScalarRel, DoubleScalarRel). -
binarymultiplyOfRelAndRelTest
Test multiply(DoubleScalarRel, DoubleScalarRel). -
binarydivideOfRelAndRelTest
Test divide(DoubleScalarRel, DoubleScalarRel).
-