Beispiel #1
0
void RunAllTests(void) {
    CuString *output = CuStringNew();
    CuSuite* suite = CuSuiteNew();
    
    CuSuiteAddSuite(suite, StrUtilGetSuite());

    CuSuiteRun(suite);
    CuSuiteSummary(suite, output);
    CuSuiteDetails(suite, output);
    printf("%s\n", output->buffer);
}
void RunAllTests(void) {
    CuString *output = CuStringNew();
    CuSuite* suite = CuSuiteNew();

    CuSuiteAddSuite(suite, StrUtilGetSuite());

    CuSuiteRun(suite);
    CuSuiteSummary(suite, output);
    CuSuiteDetails(suite, output);
    printf("%s\n", output->buffer);

//******************** MATRIX SUITE *******************
    CuString *output2 = CuStringNew();
    CuSuite* suite2 = CuSuiteNew();

    CuSuiteAddSuite(suite2, MatrixUtilGetSuite());

    CuSuiteRun(suite2);
    CuSuiteSummary(suite2, output2);
    CuSuiteDetails(suite2, output2);
    printf("%s\n", output2->buffer);
//********************************************************

}