Sha256: f564cc2db7932b46f5b7d9d9c04940e5f020ef7da9e395a1d4118075891953db
Contents?: true
Size: 990 Bytes
Versions: 64
Compression:
Stored size: 990 Bytes
Contents
import org.junit.Test import org.junit.Ignore import kotlin.test.assertEquals /* * version: 1.0.1 */ class RnaTranscriptionTest { /* In Kotlin functions can be declared at top level in a file, meaning you do not need to create a class to hold a function, like languages such as Java, C# or Scala. http://kotlinlang.org/docs/reference/functions.html#function-scope */ @Test fun cytosineComplementIsGuanine() { assertEquals("G", transcribeToRna("C")) } @Ignore @Test fun guanineComplementIsCytosine() { assertEquals("C", transcribeToRna("G")) } @Ignore @Test fun thymineComplementIsAdenine() { assertEquals("A", transcribeToRna("T")) } @Ignore @Test fun adenineComplementIsUracil() { assertEquals("U", transcribeToRna("A")) } @Ignore @Test fun rnaTranscription() { assertEquals("UGCACCAGAAUU", transcribeToRna("ACGTGGTCTTAA")) } }
Version data entries
64 entries across 64 versions & 1 rubygems