/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* 01_positif.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: dgaillet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2026/01/25 17:12:19 by dgaillet #+# #+# */ /* Updated: 2026/01/25 17:12:20 by dgaillet ### ########lyon.fr */ /* */ /* ************************************************************************** */ #include "../tests.h" int itoa_positif_test(void) { char *str; int res; str = ft_itoa(42); res = ft_strncmp(str, "42", 10); free(str); return (res); }