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-gpaw
Commits
852855b8
Commit
852855b8
authored
Feb 11, 2016
by
ankit kariryaa
Browse files
Add test
parent
fbb6bb86
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/scala/eu/nomad_lab/parsers/GpawParserSpec.scala
0 → 100644
View file @
852855b8
package
eu.nomad_lab.parsers
import
org.specs2.mutable.Specification
object
GpawParserSpec
extends
Specification
{
"GpawParserTest"
>>
{
"test with json-events"
>>
{
ParserRun
.
parse
(
GpawParser
,
"parsers/gpaw/test/examples/H2.gpw"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
"test with json"
>>
{
ParserRun
.
parse
(
GpawParser
,
"parsers/gpaw/test/examples/H2.gpw"
,
"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