Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
parser-cp2k
Commits
c5ba3b5b
Commit
c5ba3b5b
authored
Feb 11, 2016
by
ankit kariryaa
Browse files
Add test
parent
f0cb0453
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/scala/eu/nomad_lab/parsers/Cp2kParserSpec.scala
0 → 100644
View file @
c5ba3b5b
package
eu.nomad_lab.parsers
import
org.specs2.mutable.Specification
object
Cp2kParserSpec
extends
Specification
{
"Cp2kParserTest"
>>
{
"test with json-events"
>>
{
ParserRun
.
parse
(
Cp2kParser
,
"parsers/cp2k/test/examples/Si_bulk8/Si_bulk8.out"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
}
"test with json"
>>
{
ParserRun
.
parse
(
Cp2kParser
,
"parsers/cp2k/test/examples/Si_bulk8/Si_bulk8.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