|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef TEST_SGASSERT_H
15 # define TEST_SGASSERT_H
22 #define SGASSERT( TRUEEXPR ) assert(TRUEEXPR)
23 #define SGASSERTERROR( FALSEEXPR ) \
24 std::cerr << "Now we expect to see an error message:" << std::endl \
25 << "----Error Message Starts--->>" << std::endl; \
26 assert(!(FALSEEXPR)); \
27 std::cerr<< "<<---Error Message Ends-------" << std::endl
30 #endif // TEST_SGASSERT_H