Files
Erwann Lagouche cf491b279d feat/stdout (#3)
* feat: disable standard output for tests

* fuck les fds

* patch some complation issues

* style: norm

* feat: timeout

* fix: patc more stuff

* fix: patch merge

* feat: more tests
2026-01-25 16:43:39 +01:00

28 lines
1.0 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 03_large.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: elagouch <elagouch@student.42lyon.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/01/24 15:38:17 by elagouch #+# #+# */
/* Updated: 2026/01/25 15:16:42 by elagouch ### ########.fr */
/* */
/* ************************************************************************** */
#include "../tests.h"
int test_large(void)
{
size_t i;
char s[10000];
i = 0;
while (i < sizeof(s))
{
s[i] = ' ';
i++;
}
return (!(ft_strlen(s) == sizeof(s) + 1));
}