Sha256: 32579a12fefb833291b3b9d26b4832458825558bdeb47b1fb8760c60b2db83a9
Contents?: true
Size: 1.29 KB
Versions: 68
Compression:
Stored size: 1.29 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.transcribe("")); } @Ignore("Remove to run test") @Test public void testRnaTranscriptionOfCytosineIsGuanine() { Assert.assertEquals("G", rnaTranscription.transcribe("C")); } @Ignore("Remove to run test") @Test public void testRnaTranscriptionOfGuanineIsCytosine() { Assert.assertEquals("C", rnaTranscription.transcribe("G")); } @Ignore("Remove to run test") @Test public void testRnaTranscriptionOfThymineIsAdenine() { Assert.assertEquals("A", rnaTranscription.transcribe("T")); } @Ignore("Remove to run test") @Test public void testRnaTranscriptionOfAdenineIsUracil() { Assert.assertEquals("U", rnaTranscription.transcribe("A")); } @Ignore("Remove to run test") @Test public void testRnaTranscription() { Assert.assertEquals("UGCACCAGAAUU", rnaTranscription.transcribe("ACGTGGTCTTAA")); } }
Version data entries
68 entries across 68 versions & 1 rubygems