Adding simple test fot cf grammar
This commit is contained in:
parent
0a886bd8a8
commit
e6d9439ba9
2 changed files with 60 additions and 1 deletions
|
|
@ -61,4 +61,5 @@ namespace tp {
|
|||
void Name##FunctorBody()
|
||||
|
||||
#define TEST(expr) if (!(expr)) tp::gTesting.addFailedCheck({ #expr, __FILE__, __LINE__ })
|
||||
#define TEST_ASSERT(expr) TEST(expr); if (!(expr)) return
|
||||
#define TEST_EQUAL(l, r) if (!((l) == (r))) tp::gTesting.addFailedCheck({ #l" == "#r, __FILE__, __LINE__ })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue