Exemplo n.º 1
0
int main(int argc, char **argv) {
  // Parse command-line options accepted by nu_unit
  nu_parse_cmdline(argc, argv);

  // Run test suites
  nu_run_suite(test_suite1, "suite1");
  nu_run_suite(test_suite2, "suite2");
  // add more test suites here...

  // Print results and return
  nu_print_summary();
  nu_exit();
}
Exemplo n.º 2
0
int main(int argc, char **argv) {
  // Parse command-line options accepted by nu_unit
  nu_parse_cmdline(argc, argv);

  // Run test suites
  nu_run_suite(int_comparison_suite);
  nu_run_suite(float_comparison_suite);
  nu_run_suite(string_comparison_suite);
  nu_run_suite(misc_nu_methods_suite);
  // add more test suites here...

  // Print results and return
  nu_print_summary();
  nu_exit();
}