27 #ifdef NEC_ERROR_CHECK
28 #define DEBUG_TRACE(__x) {std::cout << __x << std::endl;}
30 { if (false == (__x))\
31 { std::stringstream __ss; \
32 __ss << "assert in file " << __FILE__ << " at line " << __LINE__;\
33 std::string __s = __ss.str(); \
37 #define ASSERT_EQUAL(__x, __y) ASSERT(fabs((__x) - (__y)) < 1e-15)
39 #define DEBUG_TRACE(__x)
41 #define ASSERT_EQUAL(__x, __y)