Diana Software
pkg
modtest
Macros
MTestModule.cc File Reference
Go to the source code of this file.
Macros
#define
ASSERT_EQUAL
(x, y)
Macro Definition Documentation
◆
ASSERT_EQUAL
#define ASSERT_EQUAL
(
x,
y
)
Value:
if
(x==y) fTestOK++;\
else {\
fTestKO++;\
stringstream difference;\
difference<<x<<
" vs "
<<y;\
Error(
"Test failed: file %s; line %d: %s"
, __FILE__ , __LINE__,difference.str().c_str());\
}
Definition at line
25
of file
MTestModule.cc
.
Generated by
1.9.1