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