Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test.h
Go to the documentation of this file.
1 
13 #ifndef TEST_INCLUDED
14 #define TEST_INCLUDED
15 
16 namespace Test {
17  static const int default_precision = 12;
18  static const int default_output_precision = 15;
19 
20  // utility routines for verifying test result.
21  // returns 0 if result and expected agree within specified criterion
22  // where the criterion is 10^-precision.
23 
24  int verify(const double expected, const double result);
25 }
26 #endif