/push_swap_checker

a simple .sh checker for a school project

Primary LanguageShell

License: MIT

Родные мои, чекер писался на коленке в 2019 году.
Если он потерял актуальность или у вас есть желание влить пару изменений - слак ksnow-be

PUSH_SWAP_CHECKER

Made by

Person Сircumstances Intra/Slack
Alex Bored student of 21 ksnow-be
Levon His lovely friend who found this idea non-stupid agottlie

Step by step

  1. Do MAKE.

  2. Move "test.sh" script into the same folder.

  3. The usage is:

alt text

  1. If you want FULL check of your project, you should include "-full" flag.

EXAMPLE OF AN OKAY PROJECT (-full)

alt text

EXAMPLE OF A BAD PROJECT (-full)

alt text

  1. In other case, just run it without any flag.

EXAMPLE WITHOUT FLAG

alt text

  1. There is a special trigger to check your (1 .. 5) randoms to check your programm does more than 12 operations.

EXAMPLE ON 5 RANDOMS

alt text

  1. If you are using SDL or MLX vizualizers, your valgrind test probably will show 0 heap usage. In that case, create an infinite loop in your programm main, than run it as a Daemon, than use "LEAKS PID".

EXAMPLE ON SDL/MLX VIZUALIZERS (LEAK PROBLEM)

alt text