Skip to content

Instantly share code, notes, and snippets.

@pjotrp
Created May 4, 2010 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjotrp/389530 to your computer and use it in GitHub Desktop.
Save pjotrp/389530 to your computer and use it in GitHub Desktop.
import org.scalatest.FlatSpec
import org.scalatest.matchers.ShouldMatchers
package bio.test {
class BioRubySpec extends FlatSpec with ShouldMatchers {
import bio.ruby._
"A DNA sequence" should "translate" in {
val rbseq = new RbSequence
rbseq.translate("agtcat",1,1) should equal ("SH")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment