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.48 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.47 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.46 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.45 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.44 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.43 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.42 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.41 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.40 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.39 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.38 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.37 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.36 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.34 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.33 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.32 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.31 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.30 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.29 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl
trackler-2.1.0.28 tracks/erlang/exercises/rna-transcription/test/rna_transcription_tests.erl