Package org.djunits.value.vdouble.scalar
Class DoubleSIScalarTest
- java.lang.Object
-
- org.djunits.value.vdouble.scalar.DoubleSIScalarTest
-
public class DoubleSIScalarTest extends Object
Test.java.Copyright (c) 2019-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
-
-
Constructor Summary
Constructors Constructor Description DoubleSIScalarTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestAsAll()Test all "asXX" methods.voidtestAsScalar()test casting to other scalars.voidtestDivideAll()Divide a value for every unit by every value for every unit and test the SI dimensions.voidtestDoubleMethods()Test the min, max, instantiateSI, interpolate, comparison methods.voidtestMultiplyAll()Multiply a value for every unit with every value for every unit and test the SI dimensions.
-
-
-
Method Detail
-
testAsScalar
public void testAsScalar()
test casting to other scalars.
-
testMultiplyAll
public void testMultiplyAll() throws ClassNotFoundExceptionMultiply a value for every unit with every value for every unit and test the SI dimensions.- Throws:
ClassNotFoundException- on error finding unit
-
testDivideAll
public void testDivideAll() throws ClassNotFoundExceptionDivide a value for every unit by every value for every unit and test the SI dimensions.- Throws:
ClassNotFoundException- on error finding unit
-
testAsAll
public void testAsAll() throws NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, ClassNotFoundException, UnitExceptionTest all "asXX" methods.- Throws:
SecurityException- on errorNoSuchMethodException- on errorInvocationTargetException- on errorIllegalArgumentException- on errorIllegalAccessException- on errorClassNotFoundException- on errorUnitException- on error
-
testDoubleMethods
public void testDoubleMethods() throws UnitExceptionTest the min, max, instantiateSI, interpolate, comparison methods.- Throws:
UnitException- on error
-
-