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-2020 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 interfaceFloatScalarTest.FloatToFloat(package private) static classFloatScalarTest.MathTester -
Constructor Summary
Constructors Constructor Description FloatScalarTest() -
Method Summary
Modifier and Type Method Description voidbasicsAbsTest()Test constructor, verify the various fields in the constructed objects, test conversions to related units.voidbasicsRelTest()Test constructor, verify the various fields in the constructed objects, test conversions to related units.voidbinarydivideOfRelAndRelTest()Test divide(FloatScalarRel, FloatScalarRel).voidbinaryminusOfAbsAndAbsTest()Test minus(DoubleScalarAbs, DoubleScalarRel).voidbinaryminusOfAbsAndRelTest()Test minus(FloatScalarAbs, FloatScalarRel).voidbinaryminusOfRelAndRelTest()Test minus(FloatScalarRel, FloatScalarRel).voidbinarymultiplyOfRelAndRelTest()Test multiply(FloatScalarRel, FloatScalarRel).voidbinaryplusOfAbsAndRelTest()Test plus(FloatScalarAbs, FloatScalarRel).voidbinaryplusOfRelAndRelTest()Test plus(FloatScalarRel, FloatScalarRel).voidequalsAbsTest()Test the equals method.voidequalsRelTest()Test the equals method.voidmathFunctionsTestAbsTest()Test the Math functions.voidmathFunctionsTestRelTest()Test the Math functions.voidmaxAndMinTest()Test the max and min methods.voidrelOpAbsTest()Test the relational operations.voidrelOpRelTest()Test the relational operations.voidtestAbsPlus()Test the plus method of absolutes.voidtestAllOf()Test all "of" methods.voidtoStringAbsTest()Test that the toString method returns something sensible.voidtoStringRelTest()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).
-