Simple XUnit test library / objects in plain C Snapshot
|
Go to the source code of this file.
Functions | |
void | always_fails () |
void | always_pass () |
void | setUpFails () |
VTEST_END_SUITE VTEST_END_SUITE VTEST_END_SUITE int | main (int argc, char *argv[]) |
void always_fails | ( | ) |
VTEST_END_SUITE VTEST_END_SUITE VTEST_END_SUITE int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 42 of file example.c.
{ VTEST_CUI_test_runner_cmdline( VTEST_SUITE_GET(FIRSTTEST), argc-1, argv+1 ); // normally main would return the return value of the function. don't do this in this case so that this test will not fail. return 0; }