Package org.djunits.value.vdouble.vector
Class DoubleVectorInstantiateTest
- java.lang.Object
-
- org.djunits.value.vdouble.vector.DoubleVectorInstantiateTest
-
public class DoubleVectorInstantiateTest extends Object
DoubleVectorInstantiateTest.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 DoubleVectorInstantiateTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testInstantiateDenseData()
Test the instantiation of dense and sparse vector types with dense data (no zeros).void
testInstantiateDenseDataWithClass()
Test the instantiation of dense and sparse vector types with dense data (no zeros).void
testInstantiateDenseDataWithUserDefinedClass()
Test the instantiation of dense and sparse vector types with dense data (no zeros).void
testInstantiateEdgeCases()
Test the instantiation of dense and sparse vector types with one vector or one column, and errors with null pointers.void
testInstantiateSIUnit()
Test the instantiation of dense and sparse vector types with dense data (no zeros).void
testInstantiateZero()
Test vector construction and operations with zero length.void
testInstantiatSparseData()
Test the instantiation of dense and sparse vector types with sparse data (90% zeros).void
testInstantiatSparseDataWithClass()
Test the instantiation of dense and sparse vector types with sparse data (90% zeros).void
testInstantiatSparseDataWithUserDefinedClass()
Test the instantiation of dense and sparse vector types with sparse data (90% zeros).
-
-
-
Method Detail
-
testInstantiateDenseData
public void testInstantiateDenseData()
Test the instantiation of dense and sparse vector types with dense data (no zeros).
-
testInstantiatSparseData
public void testInstantiatSparseData()
Test the instantiation of dense and sparse vector types with sparse data (90% zeros).
-
testInstantiateDenseDataWithClass
public void testInstantiateDenseDataWithClass()
Test the instantiation of dense and sparse vector types with dense data (no zeros).
-
testInstantiatSparseDataWithClass
public void testInstantiatSparseDataWithClass()
Test the instantiation of dense and sparse vector types with sparse data (90% zeros).
-
testInstantiateDenseDataWithUserDefinedClass
public void testInstantiateDenseDataWithUserDefinedClass()
Test the instantiation of dense and sparse vector types with dense data (no zeros).
-
testInstantiatSparseDataWithUserDefinedClass
public void testInstantiatSparseDataWithUserDefinedClass()
Test the instantiation of dense and sparse vector types with sparse data (90% zeros).
-
testInstantiateSIUnit
public void testInstantiateSIUnit() throws UnitException
Test the instantiation of dense and sparse vector types with dense data (no zeros).- Throws:
UnitException
- on error
-
testInstantiateEdgeCases
public void testInstantiateEdgeCases()
Test the instantiation of dense and sparse vector types with one vector or one column, and errors with null pointers.
-
testInstantiateZero
public void testInstantiateZero()
Test vector construction and operations with zero length.
-
-