Next: , Previous: TEST, Up: Test Macros


3.2.2 TEST_PASS

indicate that a test passed

Synopsis

     #include <testlib.h>
     
     TEST_PASS( desc )
     TEST_PASS_LINE( line )

Parameters

line
the line number to output
desc
a short description of the test being performed

Description

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.

Example

     TEST_PASS( "+= operator, length");