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.35 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.34 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.33 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.32 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.31 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.30 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.29 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.28 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.27 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.26 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.25 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.24 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.23 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.22 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.21 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.20 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.19 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.18 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.17 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.16 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl