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.55 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.54 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.53 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.52 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.51 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.50 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.49 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.48 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.47 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.46 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.45 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.44 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.43 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.42 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.41 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.40 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.39 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.38 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.37 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.2.1.36 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl