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