Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
parser-exciting
Commits
7994437d
Commit
7994437d
authored
Jun 11, 2018
by
Pardini, Lorenzo (lopa)
Browse files
updated test
parent
2016ebf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/scala/eu/nomad_lab/parsers/ExcitingParserSpec.scala
View file @
7994437d
...
...
@@ -47,35 +47,4 @@ object ExcitingParserSpec extends Specification {
"test with json"
>>
{
ParserRun
.
parse
(
ExcitingParser
,
"parsers/exciting/test/examples/GW/INFO.OUT"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
}
"ExcitingParserTestGeom"
>>
{
"test with json-events"
>>
{
ParserRun
.
parse
(
ExcitingParser
,
"parsers/exciting/test/examples/diamond-relax-carbon/relax-1/INFO.OUT"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
}
"test with json"
>>
{
ParserRun
.
parse
(
ExcitingParser
,
"parsers/exciting/test/examples/diamond-relax-carbon/relax-1/INFO.OUT"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
}
"ExcitingParserTestVolume"
>>
{
"test with json-events"
>>
{
ParserRun
.
parse
(
ExcitingParser
,
"parsers/exciting/test/examples/volume_opt-carbon/vol-opt-1/rundir-01/INFO.OUT"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
}
"test with json"
>>
{
ParserRun
.
parse
(
ExcitingParser
,
"parsers/exciting/test/examples/volume_opt-carbon/vol-opt-1/rundir-01/INFO.OUT"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
}
"ExcitingParserTestClathrate"
>>
{
"test with json-events"
>>
{
ParserRun
.
parse
(
ExcitingParser
,
"parsers/exciting/test/examples/clathrate/INFO.OUT"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
}
"test with json"
>>
{
ParserRun
.
parse
(
ExcitingParser
,
"parsers/exciting/test/examples/clathrate/INFO.OUT"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment