This repository contains a testing script for the push_swap
program.
The push_swap
program is a sorting algorithm project in the 42 curriculum. This tester script helps verify the correctness and efficiency of the push_swap
program by running multiple tests with varying input sizes.
make
command for compiling thepush_swap
programpython3
for running the testing script
- Clone this repository:
git clone https://github.com/chikhidev/push_swap_tester.git
python3 ./push_swap_tester/tester.py
The testing script includes pre-configured test cases with different input sizes (n) and corresponding maximum move counts (max). You can adjust these test cases in the script according to your requirements.