Sha256: 269f76a2b27492a3e5b1f3a8596291ce4a1293e9243e8ad89449a4a06275474f

Contents?: true

Size: 536 Bytes

Versions: 116

Compression:

Stored size: 536 Bytes

Contents

-module( parallel_letter_frequency_tests ).

-include_lib("erl_exercism/include/exercism.hrl").
-include_lib("eunit/include/eunit.hrl").

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

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

version_test() ->
  ?assertMatch(1, parallel_letter_frequency:test_version()).

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.179 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.178 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.177 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.176 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.175 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.174 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.173 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.172 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.171 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.170 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.169 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.167 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.166 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.165 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.164 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.163 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.162 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.161 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl
trackler-2.2.1.160 tracks/erlang/exercises/parallel-letter-frequency/test/parallel_letter_frequency_tests.erl