Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Millon15/fillit_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fillit checker

Checker for the 42 Fillit project

ACHTUNG

./fillit_checker just compares output of two fillit executables, keep it in mind!!! You can always get more information about checker if you take look on its source code in fillit_checker.zsh file
As etalon of the fillit you can always use @akondaur with @osyrotiu fillit, which placed in project folder as etalon_fillit

How to install ?

git clone https://github.com/millon15/fillit_checker
chmod +x fillit_checker.zsh

How to use ?

./fillit_checker.zsh -v ../my_fillit etalon_fillit 1 12
Usage ./fillit_checker.zsh (-v|-i) <1st_fillit_folder_or_exec> <2nd_fillit_folder_or_exec> [limit_numbers]
Be aware! Folders, that you passed as parameters, must be valid fillit project folders and contains Makefile inside.
Or you can pass regular ./fillit executables as a parameters, also you can combine folders and executables.
-v:					launch main valid test
-i:					launch incorrect test
[limit_numbers]:	pair of numbers, that represent start(1st number) and end(2nd) size of the test maps. By default: start=1; end=12

Example:			./fillit_checker.zsh -v ../my_fillit etalon_fillit 1 12

NOTE: all test maps with your fillit's output(.err files for 2nd file descriptor and .out for 1st) placed with ❤️ in .fillit_tests folder"

Special thanks to @hqro for the beautiful tetraminos-generator and to @akondaur:@osyrotiu for perfect etalon fillit