From e6f53e82b0f8ae1cff3749ea3476c2074c325d7b Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 12 Feb 2020 23:14:11 +0100 Subject: Added ctype tests, ignore htnew tests --- src/ctype/ft_isascii.c | 4 ++-- src/ctype/ft_todigit.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ctype') diff --git a/src/ctype/ft_isascii.c b/src/ctype/ft_isascii.c index 376ee54..12b6849 100644 --- a/src/ctype/ft_isascii.c +++ b/src/ctype/ft_isascii.c @@ -6,11 +6,11 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/07 09:54:30 by cacharle #+# #+# */ -/* Updated: 2020/02/10 02:14:40 by cacharle ### ########.fr */ +/* Updated: 2020/02/12 23:01:02 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ int ft_isascii(int c) { - return (c >= 0 && c <= 255); + return (c >= 00 && c <= 0177); } diff --git a/src/ctype/ft_todigit.c b/src/ctype/ft_todigit.c index bfa7f99..f201470 100644 --- a/src/ctype/ft_todigit.c +++ b/src/ctype/ft_todigit.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/01/15 10:37:57 by cacharle #+# #+# */ -/* Updated: 2020/01/15 10:38:46 by cacharle ### ########.fr */ +/* Updated: 2020/02/12 23:11:55 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ -- cgit