impoving tests (adding json tests)

parent c0a2d285
...@@ -9,7 +9,12 @@ import org.{json4s => jn} ...@@ -9,7 +9,12 @@ import org.{json4s => jn}
object GaussianParserSpec extends Specification { object GaussianParserSpec extends Specification {
"GaussianParserTest" >> { "GaussianParserTest" >> {
"test with Al.out">> { "test with Al.out">> {
ParserRun.parse(GaussianParser,"/home/kariryaa/NoMad/nomad-lab-base/parsers/gaussian/test/examples/Al.out","") must_== ParseResult.ParseSuccess "test with json-events" >> {
ParserRun.parse(GaussianParser,"parsers/gaussian/test/examples/Al.out","json-events") must_== ParseResult.ParseSuccess
}
"test with json" >> {
ParserRun.parse(GaussianParser,"parsers/gaussian/test/examples/Al.out","json") must_== ParseResult.ParseSuccess
}
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment