GNU/Linux ◆ xterm-256color ◆ bash 964 views

alltests — test runner for competitive programming

  1. store sample stdin & corresponding sample stdout as pair(s) of *.in *.out files with same base name.
  2. run alltests <cmd> to run command <cmd> once with every *.in file as stdin and verify that stdout matches corresponding *.out file