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-2025 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
Nested ClassesModifier and TypeClassDescription(package private) static interface(package private) static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidTest constructor, verify the various fields in the constructed objects, test conversions to related units.final voidTest constructor, verify the various fields in the constructed objects, test conversions to related units.final voidTest divide(DoubleScalarRel, DoubleScalarRel).final voidTest multiply(DoubleScalarRel, DoubleScalarRel).final voidTest the equals method.final voidTest the equals method.final voidTest the interpolate methods.final voidTest the Math functions.final voidTest the Math functions.voidTest the max and min methods.final voidTest the relational operations.final voidTest the relational operations.final voidTest the plus method of absolutes.voidTest all "multiply", "divide" and "reciprocal" methods.voidTest all "of" methods.final voidTest Angle constants.final voidTest setDisplayUnit.final voidTest that the toString method returns something sensible.final voidTest 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. -
testSetDisplayUnit
@Test public final void testSetDisplayUnit()Test setDisplayUnit. -
testAngleConstants
@Test public final void testAngleConstants()Test Angle constants. -
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
-
testAllMulDiv
@Test public void testAllMulDiv() throws NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, ClassNotFoundException, UnitException, InstantiationExceptionTest all "multiply", "divide" and "reciprocal" methods.- Throws:
SecurityException- on errorNoSuchMethodException- on errorInvocationTargetException- on errorIllegalArgumentException- on errorIllegalAccessException- on errorClassNotFoundException- on errorUnitException- on errorInstantiationException- 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. -
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. -
binarymultiplyOfRelAndRelTest
@Test public final void binarymultiplyOfRelAndRelTest()Test multiply(DoubleScalarRel, DoubleScalarRel). -
binarydivideOfRelAndRelTest
@Test public final void binarydivideOfRelAndRelTest()Test divide(DoubleScalarRel, DoubleScalarRel).
-