|
3 | 3 | public class IsogramTests |
4 | 4 | { |
5 | 5 | [Fact] |
6 | | - public void EmptyString() |
| 6 | + public void Empty_string() |
7 | 7 | { |
8 | 8 | Assert.True(Isogram.IsIsogram("")); |
9 | 9 | } |
10 | 10 |
|
11 | 11 | [Fact(Skip = "Remove this Skip property to run this test")] |
12 | | - public void IsogramWithOnlyLowerCaseCharacters() |
| 12 | + public void Isogram_with_only_lower_case_characters() |
13 | 13 | { |
14 | 14 | Assert.True(Isogram.IsIsogram("isogram")); |
15 | 15 | } |
16 | 16 |
|
17 | 17 | [Fact(Skip = "Remove this Skip property to run this test")] |
18 | | - public void WordWithOneDuplicatedCharacter() |
| 18 | + public void Word_with_one_duplicated_character() |
19 | 19 | { |
20 | 20 | Assert.False(Isogram.IsIsogram("eleven")); |
21 | 21 | } |
22 | 22 |
|
23 | 23 | [Fact(Skip = "Remove this Skip property to run this test")] |
24 | | - public void WordWithOneDuplicatedCharacterFromTheEndOfTheAlphabet() |
| 24 | + public void Word_with_one_duplicated_character_from_the_end_of_the_alphabet() |
25 | 25 | { |
26 | 26 | Assert.False(Isogram.IsIsogram("zzyzx")); |
27 | 27 | } |
28 | 28 |
|
29 | 29 | [Fact(Skip = "Remove this Skip property to run this test")] |
30 | | - public void LongestReportedEnglishIsogram() |
| 30 | + public void Longest_reported_english_isogram() |
31 | 31 | { |
32 | 32 | Assert.True(Isogram.IsIsogram("subdermatoglyphic")); |
33 | 33 | } |
34 | 34 |
|
35 | 35 | [Fact(Skip = "Remove this Skip property to run this test")] |
36 | | - public void WordWithDuplicatedCharacterInMixedCase() |
| 36 | + public void Word_with_duplicated_character_in_mixed_case() |
37 | 37 | { |
38 | 38 | Assert.False(Isogram.IsIsogram("Alphabet")); |
39 | 39 | } |
40 | 40 |
|
41 | 41 | [Fact(Skip = "Remove this Skip property to run this test")] |
42 | | - public void WordWithDuplicatedCharacterInMixedCaseLowercaseFirst() |
| 42 | + public void Word_with_duplicated_character_in_mixed_case_lowercase_first() |
43 | 43 | { |
44 | 44 | Assert.False(Isogram.IsIsogram("alphAbet")); |
45 | 45 | } |
46 | 46 |
|
47 | 47 | [Fact(Skip = "Remove this Skip property to run this test")] |
48 | | - public void HypotheticalIsogrammicWordWithHyphen() |
| 48 | + public void Hypothetical_isogrammic_word_with_hyphen() |
49 | 49 | { |
50 | 50 | Assert.True(Isogram.IsIsogram("thumbscrew-japingly")); |
51 | 51 | } |
52 | 52 |
|
53 | 53 | [Fact(Skip = "Remove this Skip property to run this test")] |
54 | | - public void HypotheticalWordWithDuplicatedCharacterFollowingHyphen() |
| 54 | + public void Hypothetical_word_with_duplicated_character_following_hyphen() |
55 | 55 | { |
56 | 56 | Assert.False(Isogram.IsIsogram("thumbscrew-jappingly")); |
57 | 57 | } |
58 | 58 |
|
59 | 59 | [Fact(Skip = "Remove this Skip property to run this test")] |
60 | | - public void IsogramWithDuplicatedHyphen() |
| 60 | + public void Isogram_with_duplicated_hyphen() |
61 | 61 | { |
62 | 62 | Assert.True(Isogram.IsIsogram("six-year-old")); |
63 | 63 | } |
64 | 64 |
|
65 | 65 | [Fact(Skip = "Remove this Skip property to run this test")] |
66 | | - public void MadeUpNameThatIsAnIsogram() |
| 66 | + public void Made_up_name_that_is_an_isogram() |
67 | 67 | { |
68 | 68 | Assert.True(Isogram.IsIsogram("Emily Jung Schwartzkopf")); |
69 | 69 | } |
70 | 70 |
|
71 | 71 | [Fact(Skip = "Remove this Skip property to run this test")] |
72 | | - public void DuplicatedCharacterInTheMiddle() |
| 72 | + public void Duplicated_character_in_the_middle() |
73 | 73 | { |
74 | 74 | Assert.False(Isogram.IsIsogram("accentor")); |
75 | 75 | } |
76 | 76 |
|
77 | 77 | [Fact(Skip = "Remove this Skip property to run this test")] |
78 | | - public void SameFirstAndLastCharacters() |
| 78 | + public void Same_first_and_last_characters() |
79 | 79 | { |
80 | 80 | Assert.False(Isogram.IsIsogram("angola")); |
81 | 81 | } |
82 | 82 |
|
83 | 83 | [Fact(Skip = "Remove this Skip property to run this test")] |
84 | | - public void WordWithDuplicatedCharacterAndWithTwoHyphens() |
| 84 | + public void Word_with_duplicated_character_and_with_two_hyphens() |
85 | 85 | { |
86 | 86 | Assert.False(Isogram.IsIsogram("up-to-date")); |
87 | 87 | } |
|
0 commit comments