Skip to content
Snippets Groups Projects
Commit 9f96d449 authored by Mikkel Strange's avatar Mikkel Strange
Browse files

added one more test | Fe pw and spinpol

parent e2c577ce
Branches
No related tags found
No related merge requests found
...@@ -4,11 +4,17 @@ import org.specs2.mutable.Specification ...@@ -4,11 +4,17 @@ import org.specs2.mutable.Specification
object GpawParserSpec extends Specification { object GpawParserSpec extends Specification {
"GpawParserTest" >> { "GpawParserTest" >> {
"test with json-events" >> { "H2 test with json-events" >> {
ParserRun.parse(GpawParser, "parsers/gpaw/test/examples/H2.gpw", "json-events") must_== ParseResult.ParseSuccess ParserRun.parse(GpawParser, "parsers/gpaw/test/examples/H2.gpw", "json-events") must_== ParseResult.ParseSuccess
} }
"test with json" >> { "H2 test with json" >> {
ParserRun.parse(GpawParser, "parsers/gpaw/test/examples/H2.gpw", "json") must_== ParseResult.ParseSuccess ParserRun.parse(GpawParser, "parsers/gpaw/test/examples/H2.gpw", "json") must_== ParseResult.ParseSuccess
} }
"Fe2 test with json-events" >> {
ParserRun.parse(GpawParser, "parsers/gpaw/test/examples/Fe2.gpw", "json-events") must_== ParseResult.ParseSuccess
}
"Fe2 test with json" >> {
ParserRun.parse(GpawParser, "parsers/gpaw/test/examples/Fe2.gpw", "json") must_== ParseResult.ParseSuccess
}
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment