With this tester you can test your own pushswap_checker. All return values and print output are tested for each tests
- You must
make
your project. - Your binary must have the name
pushswap_checker
.
- Clone this repository in your pushswap_checker repository
git clone git@github.com:LouisLanganay/Pushswap_checker-tester.git
- Run it with
./Pushswap_checker-tester/my_tester.sh
OR
- Go to the last release and download the
run_tests.sh
file. - Put it in the root of your project.
- Run it with
./run_tests.sh
.
- Basic list manipulation
- Advanced list manipulation
- Error handling
Note
All return values and print output are tested for each tests