Package org.djunits.value.vfloat.scalar
Class FloatScalarTest
java.lang.Object
org.djunits.value.vfloat.scalar.FloatScalarTest
Test the FloatScalar 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(FloatScalarRel, FloatScalarRel).final void
Test minus(DoubleScalarAbs, DoubleScalarRel).final void
Test minus(FloatScalarAbs, FloatScalarRel).final void
Test minus(FloatScalarRel, FloatScalarRel).final void
Test multiply(FloatScalarRel, FloatScalarRel).final void
Test plus(FloatScalarAbs, FloatScalarRel).final void
Test plus(FloatScalarRel, FloatScalarRel).final void
Test the equals method.final void
Test the equals method.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
-
FloatScalarTest
public FloatScalarTest()
-
-
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(FloatScalarAbs, FloatScalarRel). -
binaryminusOfAbsAndRelTest
@Test public final void binaryminusOfAbsAndRelTest()Test minus(FloatScalarAbs, FloatScalarRel). -
binaryminusOfAbsAndAbsTest
@Test public final void binaryminusOfAbsAndAbsTest()Test minus(DoubleScalarAbs, DoubleScalarRel). -
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(FloatScalarRel, FloatScalarRel). -
binaryminusOfRelAndRelTest
@Test public final void binaryminusOfRelAndRelTest()Test minus(FloatScalarRel, FloatScalarRel). -
binarymultiplyOfRelAndRelTest
@Test public final void binarymultiplyOfRelAndRelTest()Test multiply(FloatScalarRel, FloatScalarRel). -
binarydivideOfRelAndRelTest
@Test public final void binarydivideOfRelAndRelTest()Test divide(FloatScalarRel, FloatScalarRel).
-