-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
64 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
# domjudge-testcase-tools | ||
Tooling for checking correct file encodings, and correctness of testcases | ||
|
||
## usage | ||
``` | ||
usage: testcase-help.py [-h] [-V] [-r] [-f] [-g CMD] [-c CMD] PATH | ||
positional arguments: | ||
PATH Path to a file or directory | ||
options: | ||
-h, --help show this help message and exit | ||
-V, --verbose enable verbose output | ||
-r, --recursive process directories recursively | ||
-f, --fix-encoding fix encoding of file(s) to UTF-8 LF | ||
-g CMD, --generate-results CMD | ||
run CMD on every in.txt and generate out.txt | ||
-c CMD, --check-results CMD | ||
run CMD for in.txt and verify correctness of out.txt | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
asdfbn;l | ||
adfbn;l | ||
as;dfk | ||
sd |