Sha256: c3893fc91508384800c041318454bbdcfd91e9a1673cbd29875eaaa71105fe2d

Contents?: true

Size: 453 Bytes

Versions: 194

Compression:

Stored size: 453 Bytes

Contents

-module( parallel_letter_frequency_tests ).

-define(TESTED_MODULE, (sut(parallel_letter_frequency))).
-define(TEST_VERSION, 1).
-include("exercism.hrl").


single_test() ->
  Frequencies = dict:to_list( ?TESTED_MODULE:dict(["asd"]) ),
  ?assert( lists:sort(Frequencies) =:= [{$a,1},{$d,1},{$s,1}] ).

double_test() ->
  Frequencies = dict:to_list( ?TESTED_MODULE:dict(["asd", "asd"]) ),
  ?assert( lists:sort(Frequencies) =:= [{$a,2},{$d,2},{$s,2}] ).

Version data entries

194 entries across 194 versions & 1 rubygems

Version Path
trackler-2.2.1.62 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.61 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.60 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.59 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.58 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.57 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.56 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.55 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.54 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.53 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.52 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.51 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.50 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.49 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.48 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.47 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.46 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.45 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.44 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.43 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl