* feat: disable standard output for tests * fuck les fds * patch some complation issues * style: norm * feat: timeout * fix: patc more stuff * fix: patch merge * feat: more tests
29 lines
1.3 KiB
C
29 lines
1.3 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* 00_launcher.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: dgaillet <dgaillet@student.42lyon.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2026/01/24 16:22:35 by dgaillet #+# #+# */
|
|
/* Updated: 2026/01/25 16:32:35 by elagouch ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "../tests.h"
|
|
|
|
int atoi_launcher(void)
|
|
{
|
|
t_unit_test *testlist;
|
|
size_t res;
|
|
|
|
testlist = NULL;
|
|
load_test(&testlist, "Basic test", &atoi_basic_test, 0);
|
|
load_test(&testlist, "INT MAX test", &atoi_int_max_test, 0);
|
|
load_test(&testlist, "INT MIN test", &atoi_int_min_test, 0);
|
|
load_test(&testlist, "NULL test", &atoi_null_test, 0);
|
|
res = launch_tests(testlist, "atoi");
|
|
clear_tests(&testlist);
|
|
return (res);
|
|
}
|