Skip to content
Snippets Groups Projects
Commit aae484c4 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

add VaspRunParser tests

parent 5b97bd6f
Branches
Tags 5.3.0
No related merge requests found
...@@ -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
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment