- you can easily add c++ or c files in /inputs directory
there is no need to add .exe files in this directory, files are finally getting filtered by .cpp extension while program is on!
-
for testing purposes there is a I/O returning function provided in io_tst.py
def main_code(test_index: int=0): """ RETURN THE I/O THAT IS COMPATIBLE WITH YOUR TEST """ i = f"" # some input o = f"" # some output return i, o
test_index is the index of the test that is running currently
-
useful for I/O preserved tests
- after inserting c++ (or C) codes, and adding the test code in specified directories, it is time to run combo.py
- linux & mac
python3 combo.py
- windows
py combo.py
- finally you can get a brief coverage report of each code, inside statistics.csv
don't panic, you can use dev.py to see your generated I/O and check wether it's correct or not !
you can also see your messages above all! (useful for debugging your test sample!) 💎