Giter Club home page Giter Club logo

arktest_push_swap's Introduction

Push_Swap Arktester

How to use it ?

  1. git clone https://github.com/Arkhavy/Arktest_Push_Swap.git where your binary is located
  2. Make sure your checker and your binary exist
  3. Rename the checker in the script if needed (default is checker_Mac)
  4. cd Arktest_Push_Swap
  5. ./arktest.sh
  6. Brace yourself

The tester has flags !

Option Name Description
-h Help Display help and exit.
-i Info Display informations about results of tests and exit.
-p Parsing tests Do parsing tests (42 tests)
-s Small tests Do 3 and 5 digits tests (126 tests)
-m Medium tests Do 100 digits tests (500 tests)
-l Large tests Do 500 digits tests (500 tests)
-os Opt and small tests Do Small tests + 4, 6, 7, 8 and 9 digits tests (2370 tests)
-om Opt and medium tests Do Medium tests + 10, 25, 50 and 75 digits tests (2500 tests)
-ol Opt and large tests Do Large tests + 200, 300, 400 digits tests (2000 tests)
  • If you launch the script without flags, it will do all tests (Currently 6912 tests, it might take some time)
  • You can use different flags to do only some tests and not all of them !
  • You can use multiple flags at the same time !
    • ./arktest.sh -p -s -ol as example will then do parsing, 3, 5, 200, 300, 400, 500 digits tests !

There is a trace and additional infos !

  • If you have any Checker KOs, Checker Errors, Timeout, TMIs, Leaks, Crash, it will be listed in the trace.txt created at the start of the script !
  • Every series of test has its own best, average and worst displayed at the end of each series.
    • You can then see which line gave you the best or worst result and the average of the whole batch of test !

Arktester example

ATTENTION

  • The script is currently a Work In Progress
  • If the script displays anything weird, you might display something weird yourself with your program (if not, please contact me)
  • There is currently 6912 tests done, hope your body is ready (and your terminal too)
  • Norm test, leak tests, crash tests and timeout tests are currently non existent, they will be added in the future
  • Since timeout test does not exist yet, if the script get stuck in an infinite loop, it's your fault !
  • Any feedback is appreciated at [email protected], any idea for more features too !

Arktester scores

arktest_push_swap's People

Contributors

arkhavy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.