Sha256: 5a2f31e6a9f854b65779f13b3f77a5ccb3ee1fab9abbdebcd254de14c62a0aba

Contents?: true

Size: 715 Bytes

Versions: 14

Compression:

Stored size: 715 Bytes

Contents

require "spec"
require "./rna_transcription"

describe "RnaComplement" do
  describe "#of_dna" do
    it "correctly transcribes cytosine to guanine" do
      RnaComplement.of_dna("C").should eq "G"
    end

    pending "correctly transcribes guanine to cytocine" do
      RnaComplement.of_dna("G").should eq "C"
    end

    pending "correctly transcribes thymine to adenine" do
      RnaComplement.of_dna("T").should eq "A"
    end

    pending "correctly transcribes adenine to uracil" do
      RnaComplement.of_dna("A").should eq "U"
    end

    pending "correctly transcribes all dna nucleotides to their rna compliment" do
      RnaComplement.of_dna("ACGTGGTCTTAA").should eq "UGCACCAGAAUU"
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
trackler-2.0.0.3 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-2.0.0.2 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-2.0.0.1 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-2.0.0.0 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-1.0.4.1 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-1.0.4.0 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-1.0.3.0 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-1.0.2.1 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-1.0.2.0 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-1.0.1.2 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-1.0.1.1 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-1.0.1.0 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-1.0.0.1 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr
trackler-1.0.0 tracks/crystal/exercises/rna-transcription/rna_transcription_spec.cr