FEAT: atoi and strncmp tests
This commit is contained in:
19
real_tests/ft_atoi/01_basic.c
Normal file
19
real_tests/ft_atoi/01_basic.c
Normal file
@@ -0,0 +1,19 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* 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"
|
||||
|
||||
int atoi_basic_test(void)
|
||||
{
|
||||
return (ft_atoi("42") == 42);
|
||||
}
|
||||
Reference in New Issue
Block a user