50 Suite *s = suite_create(
"maze_gen");
51 TCase *tc_core = tcase_create(
"Core");
56 suite_add_tcase(s, tc_core);
57 tcase_add_test(tc_core, test_empty);
65 SRunner *sr = srunner_create(s);
67 srunner_set_xml(sr, LOGDIR
"/unit/random_maps/maze_gen.xml");
68 srunner_set_log(sr, LOGDIR
"/unit/random_maps/maze_gen.out");
69 srunner_run_all(sr, CK_ENV);
70 nf = srunner_ntests_failed(sr);
72 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;