1 # Test cases for judge-tok.c 2>&1
3 # Identical input and output
5 Run: bin/judge-tok $1 $2 2>&1
11 # Differences in whitespaces are OK
13 Run: bin/judge-tok $1 $2 2>&1
19 # Differences in line breaks are not
21 Run: bin/judge-tok $1 $2 2>&1
29 # ... unless the -n switch is given
31 Run: bin/judge-tok -n $1 $2 2>&1
38 # Trailing empty lines are also not OK
40 Run: echo >>$1 && bin/judge-tok $1 $2 2>&1
47 # ... unless -t is given
49 Run: echo >>$1 && bin/judge-tok -t $1 $2 2>&1
55 # Differences in case are not
57 Run: bin/judge-tok $1 $2 2>&1
64 # ... unless -i is given
66 Run: bin/judge-tok -i $1 $2 2>&1
72 # By default, we compare everything literal
74 Run: bin/judge-tok $1 $2 2>&1
85 # ... but if -r is given, we allow small differences
87 Run: bin/judge-tok -r $1 $2 2>&1