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-gpaw
Commits
9f96d449
Commit
9f96d449
authored
Sep 14, 2016
by
Mikkel Strange
Browse files
added one more test | Fe pw and spinpol
parent
e2c577ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/scala/eu/nomad_lab/parsers/GpawParserSpec.scala
View file @
9f96d449
...
...
@@ -4,11 +4,17 @@ import org.specs2.mutable.Specification
object
GpawParserSpec
extends
Specification
{
"GpawParserTest"
>>
{
"test with json-events"
>>
{
"
H2
test with json-events"
>>
{
ParserRun
.
parse
(
GpawParser
,
"parsers/gpaw/test/examples/H2.gpw"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
"test with json"
>>
{
"
H2
test with json"
>>
{
ParserRun
.
parse
(
GpawParser
,
"parsers/gpaw/test/examples/H2.gpw"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
}
"Fe2 test with json-events"
>>
{
ParserRun
.
parse
(
GpawParser
,
"parsers/gpaw/test/examples/Fe2.gpw"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
"Fe2 test with json"
>>
{
ParserRun
.
parse
(
GpawParser
,
"parsers/gpaw/test/examples/Fe2.gpw"
,
"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