Skip to content

Commit

Permalink
improving my own tester
Browse files Browse the repository at this point in the history
  • Loading branch information
biralavor committed May 13, 2024
1 parent 4dd9a1c commit 01efa22
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _ci_tdd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# By: umeneses <umeneses@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/05/10 10:09:44 by umeneses #+# #+# #
# Updated: 2024/05/13 15:34:21 by umeneses ### ########.fr #
# Updated: 2024/05/13 15:50:32 by umeneses ### ########.fr #
# #
# **************************************************************************** #

Expand Down Expand Up @@ -42,7 +42,7 @@ LIBS = $(LIBFT_D)libft.a $(PUSH_SWAP_D)

NAME = push_swap.tests

SRC_FILES = test_main_v2.c
SRC_FILES = test_main_my_own.c

SRC_FILES_ALL = $(addprefix $(TEST_D), $(SRC_FILES))

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* test_main_v2.c :+: :+: :+: */
/* test_main_my_own.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: umeneses <umeneses@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/09 19:06:12 by umeneses #+# #+# */
/* Updated: 2024/05/13 15:35:54 by umeneses ### ########.fr */
/* Updated: 2024/05/13 15:58:45 by umeneses ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -49,7 +49,13 @@ void test_pushsubtract_5minus3()

int main(void)
{
int index;

index = 0;
ft_printf("\033[0;36m");
ft_printf("Runing test [%d] test_pushadd_5plus4\n", ++index);
test_pushadd_5plus4();
ft_printf("Runing test [%d] test_pushsubtract_5minus3\n", ++index);
test_pushsubtract_5minus3();
ft_printf("All tests passed\n");
return (0);
Expand Down

0 comments on commit 01efa22

Please sign in to comment.