Sha256: fdc2db59d6d402c9dbef21747401c4ee6042a3b0192d70d7b0058b1c59da0b66

Contents?: true

Size: 704 Bytes

Versions: 382

Compression:

Stored size: 704 Bytes

Contents

require "spec"
require "../src/*"

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

382 entries across 382 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.179 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.178 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.177 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.176 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.175 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.174 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.173 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.172 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.171 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.170 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.169 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.167 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.166 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.165 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.164 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.163 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.162 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.161 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.160 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr