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

Version Path
trackler-2.0.8.54 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.53 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.52 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.51 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.50 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.49 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.48 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.47 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.46 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.45 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.44 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.43 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.42 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.41 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.40 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.39 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.38 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.37 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.36 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java
trackler-2.0.8.35 tracks/java/exercises/rna-transcription/src/test/java/RnaTranscriptionTest.java