Sha256: 41da776ff852fa580b10537b4e4ca010ed6d5a4b978e90caf634c0b6408516c6

Contents?: true

Size: 1 KB

Versions: 116

Compression:

Stored size: 1 KB

Contents

-module(isogram_tests).

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

empty_string_test() ->
    ?assert(isogram:is_isogram("")).

isogram_with_only_lower_case_characters_test() ->
    ?assert(isogram:is_isogram("isogram")).

word_with_one_duplicated_character_test() ->
    ?assertNot(isogram:is_isogram("eleven")).

longest_reported_english_isogram_test() ->
    ?assert(isogram:is_isogram("subdermatoglyphic")).

word_with_duplicated_character_in_mixed_case_test() ->
    ?assertNot(isogram:is_isogram("Alphabet")).

hypothetical_isogrammic_word_with_hyphen_test() ->
    ?assert(isogram:is_isogram("thumbscrew-japingly")).

isogram_with_duplicated_hyphen_test() ->
    ?assert(isogram:is_isogram("six-year-old")).

made_up_name_that_is_an_isogram_test() ->
    ?assert(isogram:is_isogram("Emily Jung Schwartzkopf")).

duplicated_character_in_the_middle_test() ->
    ?assertNot(isogram:is_isogram("accentor")).

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

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
trackler-2.2.1.139 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.138 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.137 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.136 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.135 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.134 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.133 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.132 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.131 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.130 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.129 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.128 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.127 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.126 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.125 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.124 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.123 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.122 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.121 tracks/erlang/exercises/isogram/test/isogram_tests.erl
trackler-2.2.1.120 tracks/erlang/exercises/isogram/test/isogram_tests.erl