Define testEqual¶
Defined in File pvUnitTest.h
Define Documentation¶
-
testEqual(LHS, RHS)¶
Compare equality. print left and right hand values and expression strings
int x=5; testEqual(x, 5); // prints "ok 1 - x (5) == 5 (5)\n" testEqual(x, 6)<<" oops"; // prints "not ok 1 - x (5) == 6 (6) oops\n"