Bridge++  Ver. 1.2.x
 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_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 expected, const double result);
41 }
42 #endif
BridgeIO vout
Definition: bridgeIO.cpp:207
static const int default_output_precision
Definition: test.h:34
static const int default_precision
Definition: test.h:33
int verify(const double expected, const double result)
Definition: test.cpp:27