Package org.djunits.value.vdouble.vector
Class DoubleVectorInstantiateTest
java.lang.Object
org.djunits.value.vdouble.vector.DoubleVectorInstantiateTest
DoubleVectorInstantiateTest.java.
Copyright (c) 2019-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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the instantiation of dense and sparse vector types with dense data (no zeros).void
Test the instantiation of dense and sparse vector types with dense data (no zeros).void
Test the instantiation of dense and sparse vector types with one vector or one column, and errors with null pointers.void
Test the instantiation of dense and sparse vector types with dense data (no zeros).void
Test vector construction and operations with zero length.void
Test the instantiation of dense and sparse vector types with sparse data (90% zeros).void
Test the instantiation of dense and sparse vector types with sparse data (90% zeros).
-
Constructor Details
-
DoubleVectorInstantiateTest
public DoubleVectorInstantiateTest()
-
-
Method Details
-
testInstantiateDenseData
Test the instantiation of dense and sparse vector types with dense data (no zeros). -
testInstantiatSparseData
Test the instantiation of dense and sparse vector types with sparse data (90% zeros). -
testInstantiateDenseDataWithClass
Test the instantiation of dense and sparse vector types with dense data (no zeros). -
testInstantiatSparseDataWithClass
Test the instantiation of dense and sparse vector types with sparse data (90% zeros). -
testInstantiateSIUnit
Test the instantiation of dense and sparse vector types with dense data (no zeros).- Throws:
org.djunits.unit.util.UnitException
- on error
-
testInstantiateEdgeCases
Test the instantiation of dense and sparse vector types with one vector or one column, and errors with null pointers. -
testInstantiateZero
Test vector construction and operations with zero length.
-