Sha256: bcbfe8f78f35e7bb1b7db1fb48e74ea4e02f87608599935fbfc05796161a7839
Contents?: true
Size: 1.15 KB
Versions: 41
Compression:
Stored size: 1.15 KB
Contents
import org.junit.Assert; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; public class RnaTranscriptionTest { private RnaTranscription rnaTranscription; @Before public void setUp() { rnaTranscription = new RnaTranscription(); } @Test public void testRnaTranscriptionOfEmptyDnaIsEmptyRna() { Assert.assertEquals("", rnaTranscription.ofDna("")); } @Ignore @Test public void testRnaTranscriptionOfCytosineIsGuanine() { Assert.assertEquals("G", rnaTranscription.ofDna("C")); } @Ignore @Test public void testRnaTranscriptionOfGuanineIsCytosine() { Assert.assertEquals("C", rnaTranscription.ofDna("G")); } @Ignore @Test public void testRnaTranscriptionOfThymineIsAdenine() { Assert.assertEquals("A", rnaTranscription.ofDna("T")); } @Ignore @Test public void testRnaTranscriptionOfAdenineIsUracil() { Assert.assertEquals("U", rnaTranscription.ofDna("A")); } @Ignore @Test public void testRnaTranscription() { Assert.assertEquals("UGCACCAGAAUU", rnaTranscription.ofDna("ACGTGGTCTTAA")); } }
Version data entries
41 entries across 41 versions & 1 rubygems