tracks/erlang/exercises/nucleotide-count/src/example.erl in trackler-2.0.6.30 vs tracks/erlang/exercises/nucleotide-count/src/example.erl in trackler-2.0.6.31
- old
+ new
@@ -1,8 +1,8 @@
-module(example).
--export([count/2, nucleotide_counts/1, validate/1]).
+-export([count/2, nucleotide_counts/1, validate/1, test_version/0]).
count(Dna, N) ->
validate(N),
lists:foldl(
@@ -24,5 +24,8 @@
nucleotide_counts(Dna) ->
[{"A", count(Dna, "A")},
{"T", count(Dna, "T")},
{"C", count(Dna, "C")},
{"G", count(Dna, "G")}].
+
+test_version() ->
+ 1.