Additional test for split()

This commit is contained in:
Leonardo Algarra 2025-10-11 14:15:18 +02:00
parent 5a5ab6c1a1
commit 0943b2a660
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View file

@ -6,7 +6,7 @@
/* By: lalgarra <lalgarra@student.42madrid.com> +#+ +:+ +#+ */ /* By: lalgarra <lalgarra@student.42madrid.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/10/09 17:20:58 by lalgarra #+# #+# */ /* Created: 2025/10/09 17:20:58 by lalgarra #+# #+# */
/* Updated: 2025/10/09 17:53:43 by lalgarra ### ########.fr */ /* Updated: 2025/10/11 14:13:39 by lalgarra ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -70,6 +70,7 @@ int main(void)
test("test 2: ", " Lorem ", ' '); test("test 2: ", " Lorem ", ' ');
test("test 3: ", " Lorem ", 'r'); test("test 3: ", " Lorem ", 'r');
test("test 4: ", (void *)0, ' '); test("test 4: ", (void *)0, ' ');
test("test 5: ", "^^^1^^2a,^^^^3^^^^--h^^^^", '^');
test("test 6: ", "Lorem", '\0'); test("test 6: ", "Lorem", '\0');
return (0); return (0);
} }