Skip to content

SimonCROS/push_swap_tester

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

complexity

Build

Compile with the following command

make

Usage

Warning

This version is a beta version. Checker and -o are currently not available.
If you find a bug, please report it to this pull request: #6.

./complexity [-vh] [-s seed] [-f push_swap] [-t threads] numbers iterations [goal] [checker]

Following options are available :

-v, --version
        Show version of tester

-h, --help
        Show help

--json, --no-json
        Toggle JSON output on or off. By default, JSON output is enabled for non-TTY environments

-s seed, --seed=seed
        Generates the numbers based on the seed

-o output, --output=output
        Specifies an output file for logs

-f push_swap, --file=push_swap
        Use push_swap for push_swap executable

-t threads, --threads=threads
        Specifies the amount of threads to use (default: 6)

Demo :

Demo Animation for 100 elements Demo Animation for 500 elements


Merci à @mhouppin pour l'inspiration visuelle du testeur.
Thanks to @42cursus-youkim for the translations.