X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=judge%2Fjudge-tok.t;h=1bc7a8cc46079a502ae92cb5c68dbfaf3eb59540;hb=878693c0f1a0a4cee1ae0478e762b4c57dc44df3;hp=109c5a46cbdfdb7442ecd019b10f1496f35576e5;hpb=a1d6977c15e1d3de6ad9518e972ff0ffbd946be4;p=moe.git diff --git a/judge/judge-tok.t b/judge/judge-tok.t index 109c5a4..1bc7a8c 100644 --- a/judge/judge-tok.t +++ b/judge/judge-tok.t @@ -1,8 +1,8 @@ -# Test cases for judge-tok.c +# Test cases for judge-tok.c 2>&1 # Identical input and output Name: ok -Run: bin/judge-tok $1 $2 +Run: bin/judge-tok $1 $2 2>&1 In1: abc d e fgh ijk lmn In2: abc d e fgh @@ -10,7 +10,7 @@ In2: abc d e fgh # Differences in whitespaces are OK Name: ws -Run: bin/judge-tok $1 $2 +Run: bin/judge-tok $1 $2 2>&1 In1: abc d e fgh ijk lmn In2: abc d e fgh @@ -18,7 +18,7 @@ In2: abc d e fgh # Differences in line breaks are not Name: lines1 -Run: bin/judge-tok $1 $2 +Run: bin/judge-tok $1 $2 2>&1 In1: abc d e fgh ijk lmn @@ -28,7 +28,7 @@ Exit: 1 # ... unless the -n switch is given Name: lines2 -Run: bin/judge-tok -n $1 $2 +Run: bin/judge-tok -n $1 $2 2>&1 In1: abc d e fgh ijk lmn @@ -37,7 +37,7 @@ In2: abc d e fgh # Trailing empty lines are also not OK Name: trail1 -Run: echo >>$1 && bin/judge-tok $1 $2 +Run: echo >>$1 && bin/judge-tok $1 $2 2>&1 In1: abc d e fgh ijk lmn In2: abc d e fgh @@ -46,7 +46,7 @@ Exit: 1 # ... unless -t is given Name: trail1 -Run: echo >>$1 && bin/judge-tok -t $1 $2 +Run: echo >>$1 && bin/judge-tok -t $1 $2 2>&1 In1: abc d e fgh ijk lmn In2: abc d e fgh @@ -54,7 +54,7 @@ In2: abc d e fgh # Differences in case are not Name: case1 -Run: bin/judge-tok $1 $2 +Run: bin/judge-tok $1 $2 2>&1 In1: abc d e FGH IJK lmn In2: abc d e fgh @@ -63,7 +63,7 @@ Exit: 1 # ... unless -i is given Name: case2 -Run: bin/judge-tok -i $1 $2 +Run: bin/judge-tok -i $1 $2 2>&1 In1: abc d e FGH IJK lmn In2: abc d e fgh @@ -71,7 +71,7 @@ In2: abc d e fgh # By default, we compare everything literal Name: real1 -Run: bin/judge-tok $1 $2 +Run: bin/judge-tok $1 $2 2>&1 In1: 0.1000001 1. 1e-50 @@ -84,7 +84,7 @@ Exit: 1 # ... but if -r is given, we allow small differences Name: real2 -Run: bin/judge-tok -r $1 $2 +Run: bin/judge-tok -r $1 $2 2>&1 In1: 0.1000001 1. 1e-50