Class MatrixSerializationTest

java.lang.Object
org.djutils.serialization.AbstractSerializationTest
org.djutils.serialization.MatrixSerializationTest

public class MatrixSerializationTest extends AbstractSerializationTest
MatrixSerializationTest tests the encoding and decoding of matrices.

Copyright (c) 2023-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.

Author:
Alexander Verbraeck
  • Constructor Details

    • MatrixSerializationTest

      public MatrixSerializationTest()
  • Method Details

    • testMatrices

      @Test public void testMatrices() throws SerializationException
      Test encoding and decoding of arrays.
      Throws:
      SerializationException - when that happens uncaught this test has failed
    • testJaggedMatrices

      @Test public void testJaggedMatrices()
      Test that jagged matrices are detected and cause a SerializationException.
    • testMatrixSerializerDimensions

      @Test public void testMatrixSerializerDimensions()
      Test dimensions for matrix serializers.