Cmp subcommand
quicktest cmp | qt cmp
It checks the correctness of the algorithm we want to verify by comparing it with a brute force solution which is usually very slow, but is 100% sure to provide the correct solution.
quicktest cmp --target-file=main.cpp --correct-file=correct.cpp --gen-file=gen.cpp
or shorter
qt cmp -t main.cpp --c correct.cpp -g gen.cpp
Demo

Subcommand Structure
quicktest cmp | qt cmpRequired Options
-t=<value> | --target-file=<value>-c=<value> | --correct-file=<value>-g=<value> | --gen-file=<value>Other Options
--test-cases=<value> | --tc=<value> [default: 1000]--timeout=<value> | --tout=<value> [default: 2000]Unit of time:ms--memory-limit=<value> | --ml=<value> [default: 1000000000 - 1GB]Unit of time:bytes--prefix=<value> | -p=<value>conflict with--gen-file(Only one can be used at a time)--diffShow differences between the expected file and the output file
Flags of the
cmp,stressandchecksubcommands--break-bad | --breakBreak if WA, TLE or RTE states occurs--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--save-allSave all test cases--save-badSave only bad cases with WA, TLE or RTE states