Example #1
0
File: test.c Project: 9re/ltsv4c
int main(void) {
    test_suite_0();
    test_suite_1();
    
    printf("Tests failed: %d\n", tests_failed);
    printf("Tests passed: %d\n", tests_passed);
  
    return 0;
}
Example #2
0
int main(int argc, const char * argv[]) {
    /* Example function from readme file:       */
    /* print_commits_info("torvalds", "linux"); */
    test_suite_1();
    test_suite_2();
    test_suite_3();
    printf("Tests failed: %d\n", tests_failed);
    printf("Tests passed: %d\n", tests_passed);
    return 0;
}
Example #3
0
static void run_all_tests(){
    // CONFIGURE UART FOR TESTS OUTPUT
    Open1USART(USART_TX_INT_OFF &
       USART_RX_INT_OFF &
       USART_BRGH_HIGH &
       USART_CONT_RX &
       USART_EIGHT_BIT &
       USART_ASYNCH_MODE &
       USART_ADDEN_OFF,
       8);

    test_suite_1();
    test_suite_2();

    END_TESTS();
}
Example #4
0
File: tests.c Project: Kutoc/parson
int main() {
    /* Example functions from readme file:      */
    /* print_commits_info("torvalds", "linux"); */
    /* serialization_example(); */
    /* persistence_example(); */
    test_suite_1();
    test_suite_2_no_comments();
    test_suite_2_with_comments();
    test_suite_3();
    test_suite_4();
    test_suite_5();
    test_suite_6();
    test_suite_7();
    test_suite_8();
    printf("Tests failed: %d\n", tests_failed);
    printf("Tests passed: %d\n", tests_passed);
    return 0;
}