You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
679 B
28 lines
679 B
defmodule RnaTranscriptionTest do |
|
use ExUnit.Case |
|
|
|
# @tag :pending |
|
test "transcribes guanine to cytosine" do |
|
assert RnaTranscription.to_rna('G') == 'C' |
|
end |
|
|
|
# @tag :pending |
|
test "transcribes cytosine to guanine" do |
|
assert RnaTranscription.to_rna('C') == 'G' |
|
end |
|
|
|
# @tag :pending |
|
test "transcribes thymidine to adenine" do |
|
assert RnaTranscription.to_rna('T') == 'A' |
|
end |
|
|
|
# @tag :pending |
|
test "transcribes adenine to uracil" do |
|
assert RnaTranscription.to_rna('A') == 'U' |
|
end |
|
|
|
# @tag :pending |
|
test "it transcribes all dna nucleotides to rna equivalents" do |
|
assert RnaTranscription.to_rna('ACGTGGTCTTAA') == 'UGCACCAGAAUU' |
|
end |
|
end
|
|
|