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

Version Path
trackler-2.2.1.17 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.16 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.15 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.14 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.13 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.12 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.11 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.10 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.9 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.8 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.7 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.6 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.5 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.4 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.3 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.2 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.1 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.1.0 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.0.6 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.2.0.5 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java