Class AbsVector3Test

java.lang.Object
org.djunits.vecmat.d3.AbsVector3Test

public class AbsVector3Test extends Object
Tests for AbsVector3.

This class provides exhaustive coverage of AbsVector3.Col and AbsVector3.Row and all inherited functionality from AbsVector, AbsVectorMatrix and Value.

Copyright (c) 2026-2026 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djunits.org. The DJUNITS project is distributed under a three-clause BSD-style license.

Author:
Alexander Verbraeck
  • Constructor Details

    • AbsVector3Test

      public AbsVector3Test()
  • Method Details

    • testCtorBaseCol

      @Test public void testCtorBaseCol()
      Test constructor and base methods such as rows(), cols(), size() for column vector.
    • testCtorBaseRow

      @Test public void testCtorBaseRow()
      Test constructor and base methods such as rows(), cols(), size() for row vector.
    • testCtorBaseExceptions

      @Test public void testCtorBaseExceptions()
      Test exceptions for row and column constructor.
    • testInstantiateCol

      @Test public void testInstantiateCol()
      Test instantiate() and instantiateSi() for column matrices.
    • testInstantiateRow

      @Test public void testInstantiateRow()
      Test instantiate() and instantiateSi() for row matrices.
    • testStaticFactoriesCol

      @Test public void testStaticFactoriesCol()
      Test all of() and ofSi() static factories for column matrices.
    • testStaticFactoriesRow

      @Test public void testStaticFactoriesRow()
      Test all of() and ofSi() static factories for row matrices.
    • testAbsStaticFactoriesCol

      @Test public void testAbsStaticFactoriesCol()
      Test of(A) and of(A[]) static factories for column matrices.
    • testAbsStaticFactoriesRow

      @Test public void testAbsStaticFactoriesRow()
      Test of(A) and of(A[]) static factories for row matrices.
    • testScalarAndSiArrayCol

      @Test public void testScalarAndSiArrayCol()
      Test scalar and SI array extraction for column vectors.
    • testScalarAndSiArrayRow

      @Test public void testScalarAndSiArrayRow()
      Test scalar and SI array extraction for row vectors.
    • testMinMaxMedianCol

      @Test public void testMinMaxMedianCol()
      Test min(), max() and median() for column vectors.
    • testMinMaxMedianRow

      @Test public void testMinMaxMedianRow()
      Test min(), max() and median() for row vectors.
    • testTranspose

      @Test public void testTranspose()
      Test transpose().
    • testAddSubtractCol

      @Test public void testAddSubtractCol()
      Test add() and subtract() methods for column vectors.
    • testAddSubtractRow

      @Test public void testAddSubtractRow()
      Test add() and subtract() methods for row vectors.
    • testIteratorCol

      @Test public void testIteratorCol()
      Test iterator for column vectors.
    • testIteratorRow

      @Test public void testIteratorRow()
      Test iterator for row vectors.
    • testToStringCol

      @Test public void testToStringCol()
      Test toString() for column vectors.
    • testToStringRow

      @Test public void testToStringRow()
      Test toString() for row vectors.
    • testEqualsHashCodeCol

      @Test public void testEqualsHashCodeCol()
      Test equals(), hashCode() for column vectors.
    • testEqualsHashCodeRow

      @Test public void testEqualsHashCodeRow()
      Test equals(), hashCode() for row vectors.
    • testAbsVector3ColAsFunctions

      @Test @DisplayName("AbsVector3.Col as() functions test") public void testAbsVector3ColAsFunctions()
      Test AbsVector3.Col as() functions.
    • testAbsVector3RowAsFunctions

      @Test @DisplayName("AbsVector3.Row as() functions test") public void testAbsVector3RowAsFunctions()
      Test AbsVector3.Row as() functions.