Sha256: c9db05a7b8363ed8e3cb554292e69f11421f59da9066c1fb448cef68b0b28cc4

Contents?: true

Size: 638 Bytes

Versions: 70

Compression:

Stored size: 638 Bytes

Contents

-module(rna_transcription_tests).

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


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

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

transcribes_adenosine_to_thymidine_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

70 entries across 70 versions & 1 rubygems

Version Path
trackler-2.2.1.15 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.14 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.13 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.12 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.11 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.10 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.9 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.8 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.7 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.6 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.5 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.4 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.3 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.2 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.1 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.0 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.0.6 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.0.5 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.0.4 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.0.3 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl