From 472b8f20c0f74d20dbb434abce10ee86054b9975 Mon Sep 17 00:00:00 2001 From: yctct Date: Thu, 5 Feb 2026 12:18:33 +0100 Subject: Remove tests --- ft_strmapi.c | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'ft_strmapi.c') diff --git a/ft_strmapi.c b/ft_strmapi.c index a7d5c54..da4a1cd 100644 --- a/ft_strmapi.c +++ b/ft_strmapi.c @@ -35,34 +35,3 @@ char *ft_strmapi(char const *s, char (*f)(unsigned int, char)) return (newstring); } -/* - -#include - -char addOne(unsigned int i, char c) -{ - return (i + c); -} - -int main(void) -{ - char * s = ft_strmapi("1234", addOne); - printf("%s\n", s); - free(s); - s = ft_strmapi("", addOne); - printf("%s\n", s); - free(s); - return (0); -} -char tmp(unsigned int i, char c) -{ - i = 0; - return(ft_toupper(c)); -} -int main(void) -{ - char s[] = "abc"; - - printf("%s\n", ft_strmapi(s, tmp)); -} -*/ -- cgit v1.2.3