-
Install Python
-
In your PushSwap project folder :
git clone https://github.com/abdelbenamara/PushSwap.git tests/
python3 tests/test.py 3
python3 tests/test.py 5
python3 tests/test.py 100
python3 tests/test.py 500
-
By default, the n numbers are >= 1 and <= n, but you can random numbers in all possible integers by uncommenting the line
Line 11 in cf04a8d
Line 12 in cf04a8d
-
By default, for n > 5 numbers, 1000 cases are tested, but you can change that amount with this variable
Line 33 in cf04a8d