Sha256: b2c16c2edc83268b86c701df1358ab874015893df08dcffd76d42f900707700c
Contents?: true
Size: 757 Bytes
Versions: 68
Compression:
Stored size: 757 Bytes
Contents
import org.junit.Assert; import org.junit.Test; class RnaTranscriptionTest { @Test fun emptyDnaIsEmptyRna() { Assert.assertEquals("", RnaTranscription.ofDna("")); } @Test fun cytosineIsGuanine() { Assert.assertEquals("G", RnaTranscription.ofDna("C")); } @Test fun guanineIsCytosine() { Assert.assertEquals("C", RnaTranscription.ofDna("G")); } @Test fun thymineIsAdenine() { Assert.assertEquals("A", RnaTranscription.ofDna("T")); } @Test fun adenineIsUracil() { Assert.assertEquals("U", RnaTranscription.ofDna("A")); } @Test fun rnaTranscription() { Assert.assertEquals("UGCACCAGAAUU", RnaTranscription.ofDna("ACGTGGTCTTAA")); } }
Version data entries
68 entries across 68 versions & 1 rubygems