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