Skip to content

Commit

Permalink
updating test to INT_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
biralavor committed Jun 4, 2024
1 parent 638f176 commit 558df8f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions _ci_tdd/test_files/test_main_miunit.c
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/09 19:06:12 by umeneses #+# #+# */
/* Updated: 2024/06/04 17:17:45 by umeneses ### ########.fr */
/* Updated: 2024/06/04 17:29:17 by umeneses ### ########.fr */
/* */
/* ************************************************************************** */

Expand All @@ -27,7 +27,7 @@
#include "../../program_to_test/src/ft_do_and_print_01.c"

// TODO:
// make test for two decimals, three, four, five....
// make test for a list with three, four and five numbers
// make a test for signs (- +)
// make test for non-numbers input
// make test for empty list
Expand All @@ -36,6 +36,7 @@
int ft_minunit_array_counter(char **array);
void ft_array_clear(char **array, int arr_size);


MU_TEST(test_sort_2_nbrs_without_zero)
{
// ARRANGE
Expand All @@ -49,7 +50,7 @@ MU_TEST(test_sort_2_nbrs_without_zero)

// ACT
stack = NULL;
userinput = "./push_swap 180000 9";
userinput = "./push_swap 2147483647 9";
argv_simulation = ft_split(userinput, ' ');
expected_size = ft_minunit_array_counter(argv_simulation);
expected_sorted_bottom = ft_atoi(argv_simulation[1]);
Expand Down

0 comments on commit 558df8f

Please sign in to comment.