This tester shows the performance of your push_swap program.
This tester DOES NOT check that your checker works correctly.
Push_swap_tester is a little tester that shows you how your push_swap performs. It displays the number of instructions performed by your push_swap in color, here is what the colors mean:
# white means amazing!
@@ blue means good @@
+ green means ok
! orange means really bad
- red means eliminatory
git clone https://github.com/lmalki-h/push_swap_tester
bash push_swap_tester/tester.sh [path-to-push-swap-dir] [stack-size 0R range] [nb_of_tests]
the following command will perform 100 testss with a stack of 100 integers
bash push_swap_tester/tester.sh ../push_swap 100 100
the following command will perform 100 tests with a stack of 100 integers, then 100 tests with a stack of 101 integers and then 100 tests with a stack of 102 integers
bash push_swap_tester/tester.sh ../push_swap 100-102 100
If you noticed something wrong with the code or if you'd like to see a new feature, you can submit an issue. If you'd like to contribute please submit a pull request :)