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.0.2 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.0.1 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.0.0 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.55 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.54 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.53 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.52 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.51 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.50 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.49 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl