Bridge++
Ver. 1.3.x
Main Page
Namespaces
Classes
Files
File List
File Members
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_factory.h
"
20
#include "
parameterManager_YAML.h
"
21
#include "
threadManager_OpenMP.h
"
22
23
#include "
timer.h
"
24
25
#include "
bridgeIO.h
"
26
using
Bridge::vout
;
27
28
#ifdef USE_TESTMANAGER_AUTOREGISTER
29
#include "
testManager.h
"
30
#endif
31
32
namespace
Test
{
33
static
const
int
default_precision
= 11;
34
static
const
int
default_output_precision
= 15;
35
36
// utility routines for verifying test result.
37
// returns 0 if result and expected agree within specified criterion
38
// where the criterion is 10^-precision.
39
40
int
verify
(
const
double
result,
const
double
expected,
double
eps = 0.0);
41
}
42
#endif
Bridge::vout
BridgeIO vout
Definition:
bridgeIO.cpp:278
threadManager_OpenMP.h
testManager.h
timer.h
Test::default_output_precision
static const int default_output_precision
Definition:
test.h:34
Test::default_precision
static const int default_precision
Definition:
test.h:33
Test
Definition:
test.cpp:26
parameterManager_YAML.h
Test::verify
int verify(const double result, const double expected, double eps)
Definition:
test.cpp:27
parameters_factory.h
bridgeIO.h
work
sueda3
svn
bridge
branches
release
version1.3
src
Tests
test.h
Generated on Mon Nov 2 2015 22:38:56 for Bridge++ by
1.8.10