Peano
Loading...
Searching...
No Matches
CompressedFloatingPointNumbersTest.h
Go to the documentation of this file.
1
// This file is part of the Peano project. For conditions of distribution and
2
// use, please see the copyright notice at www.peano-framework.org
3
#pragma once
4
5
6
#include "
tarch/tests/TestCase.h
"
7
#include "
tarch/logging/Log.h
"
8
9
10
namespace
toolbox
{
11
namespace
multiprecision {
12
namespace
tests
{
13
class
CompressedFloatingPointNumbersTest
;
14
}
15
}
16
}
17
18
23
class
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest
:
public
tarch::tests::TestCase
{
24
private
:
25
static
tarch::logging::Log
_log
;
26
27
void
testDecomposeWithLongInt
();
28
void
testDecomposeWithInt
();
29
void
testDecomposeWithChar
();
30
void
testBatchDecomposition
();
31
void
testBatchDecompositionWithArrayOfFour
();
32
void
testErrorComputation
();
33
34
void
testTinyValues
();
35
39
void
testDecompose
();
40
58
void
testComposeDecompose
();
59
public
:
60
CompressedFloatingPointNumbersTest
();
61
virtual
~CompressedFloatingPointNumbersTest
();
62
63
virtual
void
run
();
64
};
65
66
Log.h
TestCase.h
tarch::logging::Log
Log Device.
Definition
Log.h:517
tarch::tests::TestCase
Represents one test case.
Definition
TestCase.h:57
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest
This is just a default test case that demonstrated how to write unit tests in Peano.
Definition
CompressedFloatingPointNumbersTest.h:23
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testDecompose
void testDecompose()
Something taken from the ParCo presentation.
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::CompressedFloatingPointNumbersTest
CompressedFloatingPointNumbersTest()
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testBatchDecomposition
void testBatchDecomposition()
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testDecomposeWithLongInt
void testDecomposeWithLongInt()
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testErrorComputation
void testErrorComputation()
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::_log
static tarch::logging::Log _log
Definition
CompressedFloatingPointNumbersTest.h:25
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::run
virtual void run()
This routine is triggered by the TestCaseCollection.
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testBatchDecompositionWithArrayOfFour
void testBatchDecompositionWithArrayOfFour()
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testDecomposeWithInt
void testDecomposeWithInt()
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testTinyValues
void testTinyValues()
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testComposeDecompose
void testComposeDecompose()
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::testDecomposeWithChar
void testDecomposeWithChar()
toolbox::multiprecision::tests::CompressedFloatingPointNumbersTest::~CompressedFloatingPointNumbersTest
virtual ~CompressedFloatingPointNumbersTest()
tests
Definition
Scenario.h:8
toolbox
Definition
InterpolationRestriction.h:10
src
toolbox
multiprecision
tests
CompressedFloatingPointNumbersTest.h
Generated on Wed Nov 4 2026 08:20:47 for Peano by
1.9.8