Next: TEST_FAIL, Previous: TEST, Up: Test Macros
indicate that a test passed
#include <testlib.h> TEST_PASS( desc ) TEST_PASS_LINE( line )
- line
- the line number to output
- desc
- a short description of the test being performed
TEST_PASS
is called to indicate that a test passed. It is
usually used when the determination of such is more complicated
than allowed by the other testlib
mechanisms.
TEST_PASS( "+= operator, length");