This is just a default test case that demonstrated how to write unit tests in Peano.
More...
#include <CompressedFloatingPointNumbersTest.h>
This is just a default test case that demonstrated how to write unit tests in Peano.
Feel free to rename, remove, or duplicate it.
Definition at line 23 of file CompressedFloatingPointNumbersTest.h.
◆ CompressedFloatingPointNumbersTest()
| toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::CompressedFloatingPointNumbersTest |
( |
| ) |
|
◆ ~CompressedFloatingPointNumbersTest()
| virtual toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::~CompressedFloatingPointNumbersTest |
( |
| ) |
|
|
virtual |
◆ run()
| virtual void toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::run |
( |
| ) |
|
|
virtual |
◆ testBatchDecomposition()
| void toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testBatchDecomposition |
( |
| ) |
|
|
private |
◆ testBatchDecompositionWithArrayOfFour()
| void toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testBatchDecompositionWithArrayOfFour |
( |
| ) |
|
|
private |
◆ testComposeDecompose()
| void toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testComposeDecompose |
( |
| ) |
|
|
private |
From ExaHyPE:
assertion in file /home/tobias/git/ExaHyPE/Code/./ExaHyPE/
exahype/
solvers/ADERDGSolver.cpp, line 2983 failed:
tarch::la::equals( DataHeap::getInstance().getData(heapIndex)[i], reconstructedValue, CompressionAccuracy )
parameter DataHeap::getInstance().getData(heapIndex)[i]: 1.68855695855260723448e+00
parameter reconstructedValue: 1.01768855695855017984e+03
parameter DataHeap::getInstance().getData(heapIndex)[i] - reconstructedValue: -1.01599999999999761258e+03
parameter CompressionAccuracy: 1.00000000000000006228e-09
parameter bytesForMantissa: 5
ExaHyPE-Euler: /home/tobias/git/ExaHyPE/Code/./ExaHyPE/
exahype/
solvers/ADERDGSolver.cpp:2983:
void exahype::solvers::ADERDGSolver::glueTogether(
int,
int,
int): Assertion `false
' failed.
This file is part of the multigrid project within Peano 4.
bool equals(const Matrix< Rows, Cols, Scalar > &lhs, const Matrix< Rows, Cols, Scalar > &rhs, const Scalar &tolerance=NUMERICAL_ZERO_DIFFERENCE)
Compares to matrices on equality by means of a numerical accuracy.
But I used /4.0 here for the accuracy.
◆ testDecompose()
| void toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testDecompose |
( |
| ) |
|
|
private |
Something taken from the ParCo presentation.
◆ testDecomposeWithChar()
| void toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testDecomposeWithChar |
( |
| ) |
|
|
private |
◆ testDecomposeWithInt()
| void toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testDecomposeWithInt |
( |
| ) |
|
|
private |
◆ testDecomposeWithLongInt()
| void toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testDecomposeWithLongInt |
( |
| ) |
|
|
private |
◆ testErrorComputation()
| void toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testErrorComputation |
( |
| ) |
|
|
private |
◆ testTinyValues()
| void toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testTinyValues |
( |
| ) |
|
|
private |
◆ _log
The documentation for this class was generated from the following file: