* 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
28 lines
1.2 KiB
C
28 lines
1.2 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* 00_launcher.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: elagouch <elagouch@student.42lyon.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2026/01/24 15:32:32 by elagouch #+# #+# */
|
|
/* Updated: 2026/01/25 15:13:57 by elagouch ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "../tests.h"
|
|
|
|
int strlen_launcher(void)
|
|
{
|
|
t_unit_test *testlist;
|
|
size_t res;
|
|
|
|
testlist = NULL;
|
|
load_test(&testlist, "null", &test_null, 0);
|
|
load_test(&testlist, "basic", &test_basic, 0);
|
|
load_test(&testlist, "large", &test_large, 0);
|
|
res = launch_tests(testlist, "strlen");
|
|
clear_tests(&testlist);
|
|
return (res);
|
|
}
|