Bridge++
Version 1.5.4
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
test.h
Go to the documentation of this file.
1
14
#ifndef TEST_INCLUDED
15
#define TEST_INCLUDED
16
17
#define EXIT_SKIP -1
18
19
#include "
Parameters/parameterManager_YAML.h
"
20
#include "
ResourceManager/threadManager_OpenMP.h
"
21
22
#include "
Tools/timer.h
"
23
24
#include "
IO/bridgeIO.h
"
25
using
Bridge::vout
;
26
27
#ifdef USE_TESTMANAGER_AUTOREGISTER
28
#include "
testManager.h
"
29
#endif
30
31
namespace
Test {
32
static
const
int
default_precision
= 11;
33
static
const
int
default_output_precision
= 15;
34
35
// utility routines for verifying test result.
36
// returns 0 if result and expected agree within specified criterion
37
// where the criterion is 10^-precision.
38
39
int
verify
(
const
double
result,
const
double
expected,
double
eps = 0.0);
40
}
41
#endif
Bridge::vout
BridgeIO vout
Definition:
bridgeIO.cpp:503
threadManager_OpenMP.h
testManager.h
timer.h
Test::default_output_precision
static const int default_output_precision
Definition:
test.h:33
Test::default_precision
static const int default_precision
Definition:
test.h:32
parameterManager_YAML.h
Test::verify
int verify(const double result, const double expected, double eps)
Definition:
test.cpp:27
bridgeIO.h
tests
src
test.h
Generated on Thu Mar 19 2020 10:28:25 for Bridge++ by
1.8.6