Define testTrue¶
Defined in File pvUnitTest.h
Define Documentation¶
-
testTrue(B)¶
Pass/fail from boolean
bool y=true; testTrue(y); // prints "ok 1 - y\n" testTrue(!y)<<" oops"; // prints "not ok 1 - !y oops\n"
Defined in File pvUnitTest.h
Pass/fail from boolean
bool y=true;
testTrue(y);
// prints "ok 1 - y\n"
testTrue(!y)<<" oops";
// prints "not ok 1 - !y oops\n"