Esempio n. 1
0
 public void Hypothetical_word_with_duplicated_character_following_hyphen()
 {
     Assert.False(Isogram.IsIsogram("thumbscrew-jappingly"));
 }
Esempio n. 2
0
 public void Word_with_duplicated_character_in_mixed_case_lowercase_first()
 {
     Assert.False(Isogram.IsIsogram("alphAbet"));
 }
Esempio n. 3
0
 public void Hypothetical_isogrammic_word_with_hyphen()
 {
     Assert.True(Isogram.IsIsogram("thumbscrew-japingly"));
 }
Esempio n. 4
0
 public void Word_with_one_duplicated_character()
 {
     Assert.False(Isogram.IsIsogram("eleven"));
 }
Esempio n. 5
0
 public void Isogram_with_duplicated_non_letter_character()
 {
     Assert.True(Isogram.IsIsogram("Hjelmqvist-Gryb-Zock-Pfund-Wax"));
 }
Esempio n. 6
0
 public void Empty_string()
 {
     Assert.True(Isogram.IsIsogram(""));
 }
Esempio n. 7
0
 public void Same_first_and_last_characters()
 {
     Assert.False(Isogram.IsIsogram("angola"));
 }
 public void Test7()
 {
     Assert.True(Isogram.isIsogram("six-year-old"));
 }
 public void Test8()
 {
     Assert.True(Isogram.isIsogram("Old Monk"));
 }
 public void Test5()
 {
     Assert.True(Isogram.isIsogram("Alphabet"));
 }
 public void Test6()
 {
     Assert.True(Isogram.isIsogram("thumbscrew-japingly"));
 }
 public void Test4()
 {
     Assert.True(Isogram.isIsogram("subdermatoglyphic"));
 }
 public void Test3()
 {
     Assert.False(Isogram.isIsogram("eleven"));
 }
 public void Test2()
 {
     Assert.True(Isogram.isIsogram("isogram"));
 }
Esempio n. 15
0
 public void Isogram_with_duplicated_hyphen()
 {
     Assert.True(Isogram.IsIsogram("six-year-old"));
 }
 public void Test1()
 {
     Assert.True(Isogram.isIsogram(""));
 }
Esempio n. 17
0
 public void Made_up_name_that_is_an_isogram()
 {
     Assert.True(Isogram.IsIsogram("Emily Jung Schwartzkopf"));
 }
Esempio n. 18
0
 public void Isogram_correctly_detects_isograms(string input, bool expected)
 {
     Assert.Equal(expected, Isogram.IsIsogram(input));
 }
Esempio n. 19
0
 public void Duplicated_character_in_the_middle()
 {
     Assert.False(Isogram.IsIsogram("accentor"));
 }
Esempio n. 20
0
 public void Longest_reported_english_isogram()
 {
     Assert.True(Isogram.IsIsogram("subdermatoglyphic"));
 }
Esempio n. 21
0
 public void Isogram_with_only_lower_case_characters()
 {
     Assert.True(Isogram.IsIsogram("isogram"));
 }
Esempio n. 22
0
 public void Word_with_duplicated_character_in_mixed_case()
 {
     Assert.False(Isogram.IsIsogram("Alphabet"));
 }
Esempio n. 23
0
 public void Word_with_one_duplicated_character_from_the_end_of_the_alphabet()
 {
     Assert.False(Isogram.IsIsogram("zzyzx"));
 }
Esempio n. 24
0
 public bool Should_Return_False(string word)
 {
     return(Isogram.IsIsogram(word));
 }