GromosParserSpec.scala 558 Bytes
Newer Older
Berk Onat's avatar
Berk Onat committed
1
2
3
4
5
6
7
package eu.nomad_lab.parsers

import org.specs2.mutable.Specification

object GromosParserTests extends Specification {
  "GromosParserTest" >> {
    "[Peptide in Water with 2792 atoms] test with json-events" >> {
Berk Onat's avatar
Berk Onat committed
8
      ParserRun.parse(GromosParser, "parsers/gromos/test/examples/eq/eq_peptide_1.omd", "json-events") must_== ParseResult.ParseSuccess
Berk Onat's avatar
Berk Onat committed
9
10
    }
    "[Peptide in Water with 2792 atoms] test with json" >> {
Berk Onat's avatar
Berk Onat committed
11
      ParserRun.parse(GromosParser, "parsers/gromos/test/examples/eq/eq_peptide_1.omd", "json") must_== ParseResult.ParseSuccess
Berk Onat's avatar
Berk Onat committed
12
13
14
    }
  }
}