FIX: ft_atoi names + strncmp test WIP
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* 01_ok.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: dgaillet <dgaillet@student.42lyon.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* 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"
|
||||
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* 02_ko.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: dgaillet <dgaillet@student.42lyon.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* 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)
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* 03_sigsegv.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: dgaillet <dgaillet@student.42lyon.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2026/01/24 17:23:10 by dgaillet #+# #+# */
|
||||
/* Updated: 2026/01/24 17:23:11 by dgaillet ### ########lyon.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "../tests.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* 04_sigbus.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: dgaillet <dgaillet@student.42lyon.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* 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)
|
||||
|
||||
14
real_tests/ft_strncmp/00_launcher.c
Normal file
14
real_tests/ft_strncmp/00_launcher.c
Normal file
@@ -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);
|
||||
|
||||
}
|
||||
0
real_tests/ft_strncmp/01_ok.c
Normal file
0
real_tests/ft_strncmp/01_ok.c
Normal file
Reference in New Issue
Block a user