Package org.djunits.value.vfloat.scalar
Class FloatScalarTest
java.lang.Object
org.djunits.value.vfloat.scalar.FloatScalarTest
public class FloatScalarTest extends Object
Test the FloatScalar class.
This file was generated by the djunits value test classes generator, 26 jun, 2015
Copyright (c) 2015-2019 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 Classes Modifier and Type Class Description (package private) static interface
FloatScalarTest.FloatToFloat
(package private) static class
FloatScalarTest.MathTester
-
Constructor Summary
Constructors Constructor Description FloatScalarTest()
-
Method Summary
Modifier and Type Method Description void
basicsAbsTest()
Test constructor, verify the various fields in the constructed objects, test conversions to related units.void
basicsRelTest()
Test constructor, verify the various fields in the constructed objects, test conversions to related units.void
binarydivideOfRelAndRelTest()
Test divide(FloatScalarRel, FloatScalarRel).void
binaryminusOfAbsAndAbsTest()
Test minus(DoubleScalarAbs, DoubleScalarRel).void
binaryminusOfAbsAndRelTest()
Test minus(FloatScalarAbs, FloatScalarRel).void
binaryminusOfRelAndRelTest()
Test minus(FloatScalarRel, FloatScalarRel).void
binarymultiplyOfRelAndRelTest()
Test multiply(FloatScalarRel, FloatScalarRel).void
binaryplusOfAbsAndRelTest()
Test plus(FloatScalarAbs, FloatScalarRel).void
binaryplusOfRelAndRelTest()
Test plus(FloatScalarRel, FloatScalarRel).void
equalsAbsTest()
Test the equals method.void
equalsRelTest()
Test the equals method.void
mathFunctionsTestAbsTest()
Test the Math functions.void
mathFunctionsTestRelTest()
Test the Math functions.void
maxAndMinTest()
Test the max and min methods.void
relOpAbsTest()
Test the relational operations.void
relOpRelTest()
Test the relational operations.void
testAbsPlus()
Test the plus method of absolutes.void
testAllOf()
Test all "of" methods.void
toStringAbsTest()
Test that the toString method returns something sensible.void
toStringRelTest()
Test that the toString method returns something sensible.
-
Constructor Details
-
FloatScalarTest
public FloatScalarTest()
-
-
Method Details
-
toStringAbsTest
public final void toStringAbsTest()Test that the toString method returns something sensible. -
basicsAbsTest
public final void basicsAbsTest()Test constructor, verify the various fields in the constructed objects, test conversions to related units. -
testAllOf
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
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
public final void equalsAbsTest()Test the equals method. -
relOpAbsTest
public final void relOpAbsTest()Test the relational operations. -
mathFunctionsTestAbsTest
public final void mathFunctionsTestAbsTest()Test the Math functions. -
binaryplusOfAbsAndRelTest
public final void binaryplusOfAbsAndRelTest()Test plus(FloatScalarAbs, FloatScalarRel). -
binaryminusOfAbsAndRelTest
public final void binaryminusOfAbsAndRelTest()Test minus(FloatScalarAbs, FloatScalarRel). -
binaryminusOfAbsAndAbsTest
public final void binaryminusOfAbsAndAbsTest()Test minus(DoubleScalarAbs, DoubleScalarRel). -
maxAndMinTest
public void maxAndMinTest()Test the max and min methods. -
toStringRelTest
public final void toStringRelTest()Test that the toString method returns something sensible. -
basicsRelTest
public final void basicsRelTest()Test constructor, verify the various fields in the constructed objects, test conversions to related units. -
equalsRelTest
public final void equalsRelTest()Test the equals method. -
relOpRelTest
public final void relOpRelTest()Test the relational operations. -
mathFunctionsTestRelTest
public final void mathFunctionsTestRelTest()Test the Math functions. -
binaryplusOfRelAndRelTest
public final void binaryplusOfRelAndRelTest()Test plus(FloatScalarRel, FloatScalarRel). -
binaryminusOfRelAndRelTest
public final void binaryminusOfRelAndRelTest()Test minus(FloatScalarRel, FloatScalarRel). -
binarymultiplyOfRelAndRelTest
public final void binarymultiplyOfRelAndRelTest()Test multiply(FloatScalarRel, FloatScalarRel). -
binarydivideOfRelAndRelTest
public final void binarydivideOfRelAndRelTest()Test divide(FloatScalarRel, FloatScalarRel).
-