Sha256: c975ace2f05e13172c7902d261526cfbb8ef3890af3b7779a2e4d60c03724557

Contents?: true

Size: 630 Bytes

Versions: 117

Compression:

Stored size: 630 Bytes

Contents

-module(rna_transcription_tests).

-define(TESTED_MODULE, (sut(rna_transcription))).
-define(TEST_VERSION, 1).
-include("exercism.hrl").


transcribes_cytidine_unchanged_test() ->
  ?assertEqual("C", ?TESTED_MODULE:to_rna("G")).

transcribes_guanosine_unchanged_test() ->
  ?assertEqual("G", ?TESTED_MODULE:to_rna("C")).

transcribes_adenosine_unchanged_test() ->
  ?assertEqual("A", ?TESTED_MODULE:to_rna("T")).

transcribes_thymidine_to_uracil_test() ->
  ?assertEqual("U", ?TESTED_MODULE:to_rna("A")).

transcribes_all_occurences_test() ->
  ?assertEqual(
     "UGCACCAGAAUU",
     ?TESTED_MODULE:to_rna("ACGTGGTCTTAA")
    ).

Version data entries

117 entries across 117 versions & 1 rubygems

Version Path
trackler-2.1.0.27 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.26 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.25 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.24 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.23 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.22 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.21 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.20 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.19 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.18 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.17 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.16 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.15 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.14 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.13 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.12 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.11 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.10 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.9 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.8 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl