Objective: Setup a solution with test cases to determine if a word or phrase is an isogram.
An isogram (also known as a "nonpattern word") is a word or phrase without a repeating letter, however spaces and hyphens are allowed to appear multiple times.
Examples of isograms:
- lumberjacks
- background
- downstream
- six-year-old
The word isograms, however, is not an isogram, because the s repeats.
- Should hold true for empty string ``
- Should hold true for word
isogram
with lower case characters - Should hold false for word
eleven
- Should hold true for long reported english word like
subdermatoglyphic
- Should hold true for word with duplicated character in mixed case
Alphabet
- Should hold true for word with hyphen
thumbscrew-japingly
- Should hold true for word with duplicated hyphen
six-year-old
- Should hold true for name which is separated by spaces
- The name of the solution should exactly be
isogram-csharp-problem.sln
- The name of the test folder should be
Isogram.Tests
- Don't change the content of files
.gitignore
and.travis.yml
Wikipedia https://en.wikipedia.org/wiki/Isogram