FIX: Norminette OK

This commit is contained in:
2026-01-25 12:06:54 +01:00
parent dd11abe7bb
commit e2855ab2e7
6 changed files with 41 additions and 69 deletions

View File

@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 00_launcher.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dgaillet <dgaillet@student.42lyon.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/01/25 12:05:05 by dgaillet #+# #+# */
/* Updated: 2026/01/25 12:05:17 by dgaillet ### ########lyon.fr */
/* */
/* ************************************************************************** */
#include "../tests.h"
int strncmp_launcher(void)
@@ -11,5 +23,4 @@ int strncmp_launcher(void)
res = launch_tests(testlist, "ft_strncmp");
clear_tests(&testlist);
return (res);
}

View File

@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 01_ok.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dgaillet <dgaillet@student.42lyon.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/01/25 12:05:24 by dgaillet #+# #+# */
/* Updated: 2026/01/25 12:05:25 by dgaillet ### ########lyon.fr */
/* */
/* ************************************************************************** */
#include "../tests.h"
int strncmp_ok_test(void)

View File

@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 02_ko.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dgaillet <dgaillet@student.42lyon.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/01/25 12:05:30 by dgaillet #+# #+# */
/* Updated: 2026/01/25 12:05:32 by dgaillet ### ########lyon.fr */
/* */
/* ************************************************************************** */
#include "../tests.h"
int strncmp_ko_test(void)

View File

@@ -14,7 +14,7 @@
int main(void)
{
strlen_launcher();
atoi_launcher();
strncmp_launcher();
strlen_launcher();
atoi_launcher();
strncmp_launcher();
}

View File

@@ -32,8 +32,7 @@ int atoi_sigsegv_test(void);
int atoi_sigbus_test(void);
//strncmp
int strncmp_ok_test(void);
int strncmp_ko_test(void);
int strncmp_ok_test(void);
int strncmp_ko_test(void);
#endif // !TESTS_H