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