-module(dna).
-export([to_rna/1]).

to_rna(Strand) ->
  lists:map(fun transcribe_to_rna/1, Strand).

transcribe_to_rna($G) ->
     $C;
transcribe_to_rna($C) ->
     $G;
transcribe_to_rna($T) ->
     $A;
transcribe_to_rna($A) ->
     $U.

-module(rna_transcription).
-export([to_rna/1]).

to_rna(Strand) ->
  lists:map(fun transcribe_to_rna/1, Strand).

transcribe_to_rna($G) ->
     $C;
transcribe_to_rna($C) ->
     $G;
transcribe_to_rna($T) ->
     $A;
transcribe_to_rna($A) ->
     $U.

Use the same module name in sample and tests
Use the same module name in sample and tests

The example declares the `dna` module name, but the test uses
`rna_transcript`. This made the `check_exercises.sh` script fail.
