Skip to content

Commit 9e51cb4

Browse files
author
Elliot BITSCH
committed
added negative number test for ft_isascii
1 parent 8e5bb03 commit 9e51cb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libft_tests/tests/00_part1_ft_isascii.spec.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ mt_test_isascii(num16, '\n');
2525
mt_test_isascii(num17, '\v');
2626
mt_test_isascii(num18, '\b');
2727
mt_test_isascii(num19, 7);
28+
mt_test_isascii(num20, -42);
2829

2930
void suite_00_part1_ft_isascii(t_suite *suite)
3031
{
@@ -47,5 +48,5 @@ void suite_00_part1_ft_isascii(t_suite *suite)
4748
SUITE_ADD_TEST(suite, test_num17);
4849
SUITE_ADD_TEST(suite, test_num18);
4950
SUITE_ADD_TEST(suite, test_num19);
50-
51+
SUITE_ADD_TEST(suite, test_num20);
5152
}

0 commit comments

Comments
 (0)