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.119 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.118 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.117 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.116 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.115 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.114 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.113 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.111 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.110 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.109 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.108 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.107 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.106 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.105 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.104 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.103 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.102 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.101 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.100 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr
trackler-2.2.1.99 tracks/crystal/exercises/rna-transcription/spec/rna_transcription_spec.cr