Skip to content

luweglarz/push_swap_checkers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

push_swap_checkers

This is a little script to test push_swap with the checkers, it will generate a list of numbers between 1 and the amount you put in first parameter and generate 5 tests with random list of numbers and ouput the average operations, the minimum and the maximum your push_swap takes.

How to use it

You just need to clone this repository and put your push_swap binary file at the root of it and then execute the script.

The first parameter is the amount of numbers you want your list to have.

The second parameter is the OS you are running this script on.

example: bash test.sh 100 linux

Releases

No releases published

Packages

No packages published

Languages