Package org.djutils.serialization
Class MatrixSerializationTest
java.lang.Object
org.djutils.serialization.AbstractSerializationTest
org.djutils.serialization.MatrixSerializationTest
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Test that jagged matrices are detected and cause a SerializationException.void
Test encoding and decoding of arrays.void
Test dimensions for matrix serializers.Methods inherited from class org.djutils.serialization.AbstractSerializationTest
compare, deepEquals0, makePrimitive
-
Constructor Details
-
MatrixSerializationTest
public MatrixSerializationTest()
-
-
Method Details
-
testMatrices
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.
-