Cmp Examples
Run Examples
cpp examples
git clone https://github.com/LuchoBazz/quicktest.git
cd quicktest/examples/cmp/cppquicktest cmp --target-file=main.cpp --correct-file=correct.cpp --gen-file=gen.cpp --test-cases=500 --timeout=1000or shorter
qt cmp -t main.cpp -c correct.cpp -g gen.cpp --tc 500 --tout 1000python examples
git clone https://github.com/LuchoBazz/quicktest.git
cd quicktest/examples/cmp/pythonquicktest cmp --target-file=main.py --correct-file=correct.py --gen-file=gen.py --test-cases=200 --timeout=1000or shorter
qt cmp -t main.py -c correct.py -g gen.py --tc 200 --tc 1000
Save Test Cases
you can use the following flags
--save-allSave all test cases--save-badSave only bad cases with WA, TLE or RTE states
for example
quicktest cmp --target-file=main.cpp --correct-file=correct.cpp --gen-file=gen.cpp --test-cases=500 --timeout=1000 --save-bad
or shorter
quicktest cmp -t main.cpp -c correct.cpp -g gen.cpp --tc 500 --tout 1000 --save-bad
Run Saved Test Cases
you can use the following flags
--run-acRun test cases Accepted--run-allRun all test cases--run-rteRun test cases Run Time Error--run-tleRun test cases Time Limited Exceeded--run-waRun test cases Wrong Answer
for example
quicktest cmp --target-file=main.cpp --correct-file=correct.cpp --gen-file=gen.cpp --test-cases=500 --timeout=1000 --run-wa
or shorter
quicktest cmp -t main.cpp -c correct.cpp -g gen.cpp --tc 500 --tout 1000 --run-wa