feat: add test case for ignoring whitespace

This commit is contained in:
zzjc1234 2024-09-09 13:07:47 +08:00
parent 2da213bfe3
commit 4e35e6dcb1
6 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,4 @@
3072
234890234
342342
1234234

1
cases/3.in Normal file
View File

@ -0,0 +1 @@
1024 2048

1
cases/3.out Normal file
View File

@ -0,0 +1 @@
3072

1
cases/4.in Normal file
View File

@ -0,0 +1 @@
1024 2048

1
cases/4.out Normal file
View File

@ -0,0 +1 @@
3072

View File

@ -50,6 +50,12 @@ src = "./cases/1.in"
[[stages.executor.with.cases]]
[stages.executor.with.cases.stdin]
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]
name = "diff"
[[stages.parser.with.cases]]
@ -58,3 +64,11 @@ stdoutPath = "./cases/1.out"
[[stages.parser.with.cases]]
score = 100
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