libft/tests/mandatory/memcmp/test1.c
2023-10-26 18:06:04 +02:00

22 lines
1.0 KiB
C

/* ************************************************************************** */
/* */
/* :::::::: */
/* test1.c :+: :+: */
/* +:+ */
/* By: houtworm <codam@houtworm.net> +#+ */
/* +#+ */
/* Created: 2023/02/21 03:03:00 by houtworm #+# #+# */
/* Updated: 2023/10/18 17:10:13 by houtworm ######## odam.nl */
/* */
/* ************************************************************************** */
#include "../../tmp/libft.h"
#include <stdio.h>
int main(void)
{
if (ft_memcmp("Hello", "Olleh", 4) != -7)
return (1);
return (0);
}