feat: add test case for ignoring whitespace
This commit is contained in:
parent
2da213bfe3
commit
4e35e6dcb1
|
@ -1,3 +1,4 @@
|
||||||
|
3072
|
||||||
234890234
|
234890234
|
||||||
342342
|
342342
|
||||||
1234234
|
1234234
|
||||||
|
|
1
cases/3.in
Normal file
1
cases/3.in
Normal file
|
@ -0,0 +1 @@
|
||||||
|
1024 2048
|
1
cases/3.out
Normal file
1
cases/3.out
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3072
|
1
cases/4.in
Normal file
1
cases/4.in
Normal file
|
@ -0,0 +1 @@
|
||||||
|
1024 2048
|
1
cases/4.out
Normal file
1
cases/4.out
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3072
|
14
conf.toml
14
conf.toml
|
@ -50,6 +50,12 @@ src = "./cases/1.in"
|
||||||
[[stages.executor.with.cases]]
|
[[stages.executor.with.cases]]
|
||||||
[stages.executor.with.cases.stdin]
|
[stages.executor.with.cases.stdin]
|
||||||
src = "./cases/2.in"
|
src = "./cases/2.in"
|
||||||
|
[[stages.executor.with.cases]]
|
||||||
|
[stages.executor.with.cases.stdin]
|
||||||
|
src = "./cases/3.in"
|
||||||
|
[[stages.executor.with.cases]]
|
||||||
|
[stages.executor.with.cases.stdin]
|
||||||
|
src = "./cases/4.in"
|
||||||
[stages.parser]
|
[stages.parser]
|
||||||
name = "diff"
|
name = "diff"
|
||||||
[[stages.parser.with.cases]]
|
[[stages.parser.with.cases]]
|
||||||
|
@ -58,3 +64,11 @@ stdoutPath = "./cases/1.out"
|
||||||
[[stages.parser.with.cases]]
|
[[stages.parser.with.cases]]
|
||||||
score = 100
|
score = 100
|
||||||
stdoutPath = "./cases/2.out"
|
stdoutPath = "./cases/2.out"
|
||||||
|
[[stages.parser.with.cases]]
|
||||||
|
score = 100
|
||||||
|
stdoutPath = "./cases/3.out"
|
||||||
|
ignoreWhitespace=true
|
||||||
|
[[stages.parser.with.cases]]
|
||||||
|
score = 100
|
||||||
|
stdoutPath = "./cases/4.out"
|
||||||
|
ignoreWhitespace=false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user