Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parser-vasp
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This project is archived. Its data is
read-only
.
Show more breadcrumbs
nomad-lab
parser-vasp
Commits
aae484c4
Commit
aae484c4
authored
Apr 15, 2016
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
Options
Downloads
Patches
Plain Diff
add VaspRunParser tests
parent
5b97bd6f
Branches
Branches containing commit
Tags
5.3.0
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/scala/eu/nomad_lab/parsers/VaspParserSpec.scala
+13
-0
13 additions, 0 deletions
src/test/scala/eu/nomad_lab/parsers/VaspParserSpec.scala
with
13 additions
and
0 deletions
src/test/scala/eu/nomad_lab/parsers/VaspParserSpec.scala
+
13
−
0
View file @
aae484c4
...
@@ -17,3 +17,16 @@ object VaspParserSpec extends Specification {
...
@@ -17,3 +17,16 @@ object VaspParserSpec extends Specification {
}
}
}
}
}
}
object
VaspRunParserSpec
extends
Specification
{
"VaspRunParserTest"
>>
{
"test with Al.out"
>>
{
"test with json-events"
>>
{
ParserRun
.
parse
(
VaspParser
,
"test/examples/oqmd/relaxation/vasprun.xml"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
"test with json"
>>
{
ParserRun
.
parse
(
VaspParser
,
"test/examples/oqmd/relaxation/vasprun.xml"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
sign in
to comment