Testing isprint()

This commit is contained in:
lalgarra 2025-10-03 18:40:10 +02:00
parent 61486dac3a
commit 26fe85d7ac
3 changed files with 29 additions and 4 deletions

View file

@ -6,7 +6,7 @@
# By: lalgarra <lalgarra@student.42madrid.com> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/10/03 18:03:12 by lalgarra #+# #+# #
# Updated: 2025/10/03 18:10:11 by lalgarra ### ########.fr #
# Updated: 2025/10/03 18:33:44 by lalgarra ### ########.fr #
# #
# **************************************************************************** #
@ -16,14 +16,14 @@ LIBDIR = ../repo_libft_algarra
CFLAGS += -Wall -Wextra -Werror -g3 -iquote $(LIBDIR) -L$(LIBDIR) -lft
TESTS:= isalpha_test isdigit_test isalnum_test isascii_test
TESTS:= isalpha_test isdigit_test isalnum_test isascii_test \
isprint_test
%_actual.output : %_test
@./$*_test > ./$*_actual.output ;
%_report : %_test %_actual.output
-(diff -a $*_expected.output $*_actual.output && \
echo "Test OK") > $*_report
-(diff -a $*_expected.output $*_actual.output && echo "Test OK") > $*_report
EXES = $(TESTS)