creation du main de testing et du test de abs
This commit is contained in:
8
testing/srcs/test_sign.c
Normal file
8
testing/srcs/test_sign.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "libft.h"
|
||||
|
||||
int ft_sign(int i)
|
||||
{
|
||||
if (i < 0)
|
||||
return (-1);
|
||||
return (1);
|
||||
}
|
||||
Reference in New Issue
Block a user