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 TypeMethodDescriptionvoidTest that jagged matrices are detected and cause a SerializationException.voidTest encoding and decoding of arrays.voidTest 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 that jagged matrices are detected and cause a SerializationException. - 
testMatrixSerializerDimensions
Test dimensions for matrix serializers. 
 -