Next: TEST_RUN, Previous: TEST_RUN_FP_TOL, Up: Test Macros
test two strings for equivalence
#include <testlib.h> TESTSTRING(desc, str, res ) TESTSTRING_LINE(line, desc, str, res )
- line
- the line number to output
- desc
- a short description of the test being performed
- str1
- the first string
- res
- the expected string
TESTSTRING
is called to perform a test of a string against an
expected result.
TESTSTRING( "string test", foo, "foo" );