rename makro arguments

This commit is contained in:
mrbesen 2022-09-30 14:16:53 +02:00
parent 226131d504
commit b96ecbda8c
Signed by: MrBesen
GPG Key ID: 596B2350DCD67504
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@
#define ASSERT(BED, ERR) if(!(BED)) { std::cout << __FILE__ << ":" << __LINE__ << " " << ERR << ' ' << std::flush; return TESTFAILED; }
#define CMPASSERTE(A, B, ERR) if( !((A) == (B))) { std::cout << __FILE__ << ":" << __LINE__ << " is: \"" << (A) << "\" should: \"" << (B) << "\" "<< std::flush; return TESTFAILED; }
#define CMPASSERT(A, B) CMPASSERTE(A, B, "")
#define CMPASSERTE(IS, SHOULD, ERR) if( !((IS) == (SHOULD))) { std::cout << __FILE__ << ":" << __LINE__ << " is: \"" << (IS) << "\" should: \"" << (SHOULD) << "\" "<< std::flush; return TESTFAILED; }
#define CMPASSERT(IS, SHOULD) CMPASSERTE(IS, SHOULD, "")
#define SKIPTEST return TESTSKIPPED