← Tools

cpl test

run every case in <problem>.tests/

usage: cpl test <problem> [options]

Runs the solution on every case in <problem>.tests/ (or a sibling tests/
folder). A case is N.in with an optional N.out or N.ans; without one, the
output is shown instead of judged.

options:
  --tests DIR        read cases from DIR instead of <problem>.tests/
  --fast PROG        run this instead of building the problem
  --checker PROG     judge with `PROG <input> <output> <answer>`; exit 0 accepts
  --interactor PROG  judge by talking to `PROG <input>`; exit 0 accepts
  --time-limit MS    per case (default: the problem's limit)
  --memory-limit MB  peak memory per case, past which a case is MLE (default:
                     the problem's limit)

Generated from cpl 0.2.2 (dev, a0d0078e).