netwhat/libft/tests/mandatory/isdigit/test20.c

25 lines
1.0 KiB
C
Raw Normal View History

2023-03-07 05:20:37 +01:00
/* ************************************************************************** */
/* */
/* .--. _ */
/* test20.c :+: :+: :+: */
/* |:_/ || |_ _ ___ __ */
/* By: houtworm <codam@houtworm.net> // \ \ __| | | \ \/ / */
/* (| | )|_| |_| |> < */
/* Created: 2023/02/21 03:06:47 by houtworm /'\_ _/`\__|\__,_/_/\_\ */
/* Updated: 2023/02/24 13:03:06 by houtworm ### ########.fr */
/* */
/* ************************************************************************** */
#include "../../tmp/libft.h"
#include <stdio.h>
int main(void)
{
int c;
c = '-';
if (ft_isdigit(c))
return (1);
return (0);
}