Define testTrue

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"