Collection of scripts to test the push_swap project from 42 Cursus.
On the root of your repository:
git clone git@github.com:Jkutkut/42Tester-push_swap.git
Run the scripts with:
./42Tester-push_swap/tester_performance.sh
./42Tester-push_swap/tester_input.sh
If it has a ./checker
file (like the one on the intranet), it will also
run it on the valid ones.
./42Tester-push_swap/tester_bonus.sh
./42Tester-push_swap/valgrind.sh
Or with custom input:
./42Tester-push_swap/valgrind.sh <INPUT>
By the use of the visualizer made by GlaceCoding, the following script allows you to see it online:
./42Tester-push_swap/visualize.sh <TYPE>
Note 1: Type can be small
, medium
, big
or huge
.
Note 2: If the type is something else, the script will attempt to run it with those values.
Additionally, if you want to generate a random visualization with the values in a range, you can run:
./42Tester-push_swap/visualize.sh custom <MIN> <MAX>