Tester for push_swap project, made in Python
- Install matplotlib
python3 -m pip install matplotlib
- Clone (in push_swap folder)
git clone https://github.com/AntoineA67/choupi-tester/
- compile your push_swap program then:
python3 choupi-tester/choupi-tester.py
- Minimal use, only tests 1, 3, 5, 100, 500
python3 choupi-tester/choupi-tester.py -m
-
Help
python3 choupi-tester/choupi-tester.py -h
-
Range, default: 0 to 50
Example from 20 to 100
python3 choupi-tester/choupi-tester.py 20 100
Example from 0 to 40
python3 choupi-tester/choupi-tester.py 40
-
Average, will execute N tests per value in range, default: 10 The highest this value, the best the curve will be Example with 3 / with 300: