diff --git a/real_tests/ft_atoi/01_ok.c b/real_tests/ft_atoi/01_ok.c index f9d909c..9699266 100644 --- a/real_tests/ft_atoi/01_ok.c +++ b/real_tests/ft_atoi/01_ok.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* 01_ok.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dgaillet +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2026/01/24 17:22:48 by dgaillet #+# #+# */ +/* Updated: 2026/01/24 17:22:51 by dgaillet ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + #include "../tests.h" #include "libft.h" diff --git a/real_tests/ft_atoi/02_ko.c b/real_tests/ft_atoi/02_ko.c index b8dd86e..9afc19a 100644 --- a/real_tests/ft_atoi/02_ko.c +++ b/real_tests/ft_atoi/02_ko.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* 02_ko.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dgaillet +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2026/01/24 17:23:00 by dgaillet #+# #+# */ +/* Updated: 2026/01/24 17:23:01 by dgaillet ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + #include "../tests.h" int atoi_ko_test(void) diff --git a/real_tests/ft_atoi/03_sigsegv.c b/real_tests/ft_atoi/03_sigsegv.c index e561d2f..4c34bf0 100644 --- a/real_tests/ft_atoi/03_sigsegv.c +++ b/real_tests/ft_atoi/03_sigsegv.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* 03_sigsegv.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dgaillet +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2026/01/24 17:23:10 by dgaillet #+# #+# */ +/* Updated: 2026/01/24 17:23:11 by dgaillet ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + #include "../tests.h" #include diff --git a/real_tests/ft_atoi/04_sigbus.c b/real_tests/ft_atoi/04_sigbus.c index 4af0489..2be274c 100644 --- a/real_tests/ft_atoi/04_sigbus.c +++ b/real_tests/ft_atoi/04_sigbus.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* 04_sigbus.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dgaillet +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2026/01/24 17:23:23 by dgaillet #+# #+# */ +/* Updated: 2026/01/24 17:23:24 by dgaillet ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + #include "../tests.h" int atoi_sigbus_test(void) diff --git a/real_tests/ft_strncmp/00_launcher.c b/real_tests/ft_strncmp/00_launcher.c new file mode 100644 index 0000000..e8e6ceb --- /dev/null +++ b/real_tests/ft_strncmp/00_launcher.c @@ -0,0 +1,14 @@ +#include "../tests.h" + +int strncmp_launcher(void) +{ + t_unit_test *testlist; + size_t res; + + testlist = NULL; + load_test(&testlist, "OK test", &atoi_ok_test); + res = launch_tests(testlist, "ft_strncmp"); + clear_tests(&testlist); + return (res); + +} diff --git a/real_tests/ft_strncmp/01_ok.c b/real_tests/ft_strncmp/01_ok.c new file mode 100644 index 0000000..e69de29