GaussianParserSpec.scala 630 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
package eu.nomad_lab.parsers

import eu.nomad_lab.{parsers, DefaultPythonInterpreter}
import org.scalacheck.Properties
import org.specs2.mutable.Specification
import org.{json4s => jn}


object GaussianParserSpec extends Specification {
  "GaussianParserTest" >> {
ankit kariryaa's avatar
ankit kariryaa committed
11
    "test with Al.out">> {
12 13 14 15 16 17
      "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
      }
18 19 20
    }
  }
}