|
| int | main (int argc, char **argv) |
| |
| | TEST_CASE ("ArrayAdjacency basics") |
| |
| | TEST_CASE ("ArrayAdjacency ghost communication") |
| |
| | TEST_CASE ("ArrayEigenVector basics") |
| |
| | TEST_CASE ("ArrayEigenVector ghost communication") |
| |
| | TEST_CASE ("ArrayEigenMatrix basics") |
| |
| | TEST_CASE ("ArrayEigenMatrix dynamic sizes") |
| |
| | TEST_CASE ("ArrayEigenMatrix ghost communication") |
| |
| | TEST_CASE ("ArrayEigenMatrixBatch basics") |
| |
| | TEST_CASE ("ArrayEigenUniMatrixBatch basics") |
| |
| | TEST_CASE ("ArrayEigenUniMatrixBatch static sizes") |
| |
| | TEST_CASE ("ArrayAdjacency clone") |
| |
| | TEST_CASE ("ArrayEigenMatrix NonUniformSize rows") |
| |
| | TEST_CASE ("ArrayEigenVector static size") |
| |
| | TEST_CASE ("ArrayEigenMatrixBatch ghost communication") |
| |
| | TEST_CASE ("ArrayAdjacency fixed-size variant") |
| |
| | TYPE_TO_STRING (AdjTag< 2 >) |
| |
| | TYPE_TO_STRING (AdjTag< 5 >) |
| |
| | TYPE_TO_STRING (AdjTag< 8 >) |
| |
| | TYPE_TO_STRING (AdjTag< NonUniformSize >) |
| |
| | TEST_CASE_TEMPLATE ("ArrayAdjacency parametric", Tag, AdjTag< 2 >, AdjTag< 5 >, AdjTag< 8 >, AdjTag< NonUniformSize >) |
| |
| | TYPE_TO_STRING (VecTag< 1 >) |
| |
| | TYPE_TO_STRING (VecTag< 3 >) |
| |
| | TYPE_TO_STRING (VecTag< 7 >) |
| |
| | TYPE_TO_STRING (VecTag< DynamicSize >) |
| |
| | TEST_CASE_TEMPLATE ("ArrayEigenVector parametric", Tag, VecTag< 1 >, VecTag< 3 >, VecTag< 7 >, VecTag< DynamicSize >) |
| |
| | TYPE_TO_STRING (MatTag< 2, 3 >) |
| |
| | TYPE_TO_STRING (MatTag< 4, 5 >) |
| |
| | TYPE_TO_STRING (MatTag< 1, 7 >) |
| |
| | TYPE_TO_STRING (MatTag< DynamicSize, DynamicSize >) |
| |
| | TEST_CASE_TEMPLATE ("ArrayEigenMatrix parametric", Tag, MatTag< 2, 3 >, MatTag< 4, 5 >, MatTag< 1, 7 >, MatTag< DynamicSize, DynamicSize >) |
| |
Comprehensive doctest-based unit tests for DNDS ArrayDerived types: ArrayAdjacency, ArrayEigenVector, ArrayEigenMatrix, ArrayEigenMatrixBatch, and ArrayEigenUniMatrixBatch.
Run under mpirun with 1, 2, and 4 ranks. Tests construction, resize, compress, element access, ghost communication via ArrayTransformer, and clone independence for each derived array type.
- See also
- DNDS Core Unit Tests for the full test-suite overview.
- Test:
- ArrayAdjacency (basics, ghost comm, clone, fixed-size), ArrayEigenVector (static, dynamic, ghost comm), ArrayEigenMatrix (static, dynamic, NonUniform, ghost comm), ArrayEigenMatrixBatch (basics, ghost comm), ArrayEigenUniMatrixBatch (static, dynamic).
Definition in file test_ArrayDerived.cpp.