Skip to content
GitLab
Menu
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-gaussian
Commits
7f13943f
Commit
7f13943f
authored
Feb 22, 2016
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
impoving tests (adding json tests)
parent
c0a2d285
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/scala/eu/nomad_lab/parsers/GaussianParserSpec.scala
View file @
7f13943f
...
...
@@ -9,7 +9,12 @@ import org.{json4s => jn}
object
GaussianParserSpec
extends
Specification
{
"GaussianParserTest"
>>
{
"test with Al.out"
>>
{
ParserRun
.
parse
(
GaussianParser
,
"/home/kariryaa/NoMad/nomad-lab-base/parsers/gaussian/test/examples/Al.out"
,
""
)
must_==
ParseResult
.
ParseSuccess
"test with json-events"
>>
{
ParserRun
.
parse
(
GaussianParser
,
"parsers/gaussian/test/examples/Al.out"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
"test with json"
>>
{
ParserRun
.
parse
(
GaussianParser
,
"parsers/gaussian/test/examples/Al.out"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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