feat: finally tests

This commit is contained in:
airone01
2026-01-24 15:45:40 +01:00
parent ec0df49e52
commit 760c91c949
9 changed files with 119 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
/* By: elagouch <elagouch@student.42lyon.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/01/24 14:38:40 by elagouch #+# #+# */
/* Updated: 2026/01/24 14:38:41 by elagouch ### ########.fr */
/* Updated: 2026/01/24 15:35:30 by elagouch ### ########.fr */
/* */
/* ************************************************************************** */
@@ -60,4 +60,10 @@ size_t load_test(t_unit_test **head_ptr, const char *title,
*/
void clear_tests(t_unit_test **head_ptr);
/**
* @brief launches the tests and returns the reported status
*/
int launch_tests(t_unit_test *test_list,
const char *fn_name);
#endif // !UTIL_UNIT_H