Skip to content

push swap tester for 42 push_swap project

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

ael-bekk/push_swap_tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tester for push swap To see how it works

push swap tester for 42 push_swap project

This tester shows the performance of your push_swap program

and check that your checker works correctly.

What's push_swap_tester?

Push_swap_tester is a little tester that shows you how your push_swap works. It displays the number of instructions performed by your push_swap in color, with the average here is the colors means:

  • #23FF05 means so good
  • #FFF705 means good
  • #05FBFF means it's ok
  • #D905FF means bad
  • #010CFA means realy bad
  • #f03c15 means eliminatory

Screenshot

How to run this tester?

git clone https://github.com/ael-bekk/push_swap_tester.git
cd push_swap_tester/
./tester.sh [path/push_swap] [path/checker (your checker or checker_mac)] [nb_of_tests]

for example:

the following command will perform one test with a stack of 2 & 3 & 5 & 100 & 500 integers, and check error two

./tester.sh ../push_swap ../checker

the following command will perform 5 tests with a stack of 2 & 3 & 5 & 100 & 500 integers, and check error two

./tester.sh ../push_swap ../checker 5

📝 License

This project is licensed under the MIT - see the LICENSE file for details.


About

push swap tester for 42 push_swap project

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages