|
3 | 3 | public class PangramTests |
4 | 4 | { |
5 | 5 | [Fact] |
6 | | - public void Empty_sentence() |
| 6 | + public void EmptySentence() |
7 | 7 | { |
8 | 8 | Assert.False(Pangram.IsPangram("")); |
9 | 9 | } |
10 | 10 |
|
11 | 11 | [Fact(Skip = "Remove this Skip property to run this test")] |
12 | | - public void Perfect_lower_case() |
| 12 | + public void PerfectLowerCase() |
13 | 13 | { |
14 | 14 | Assert.True(Pangram.IsPangram("abcdefghijklmnopqrstuvwxyz")); |
15 | 15 | } |
16 | 16 |
|
17 | 17 | [Fact(Skip = "Remove this Skip property to run this test")] |
18 | | - public void Only_lower_case() |
| 18 | + public void OnlyLowerCase() |
19 | 19 | { |
20 | 20 | Assert.True(Pangram.IsPangram("the quick brown fox jumps over the lazy dog")); |
21 | 21 | } |
22 | 22 |
|
23 | 23 | [Fact(Skip = "Remove this Skip property to run this test")] |
24 | | - public void Missing_the_letter_x() |
| 24 | + public void MissingTheLetterX() |
25 | 25 | { |
26 | 26 | Assert.False(Pangram.IsPangram("a quick movement of the enemy will jeopardize five gunboats")); |
27 | 27 | } |
28 | 28 |
|
29 | 29 | [Fact(Skip = "Remove this Skip property to run this test")] |
30 | | - public void Missing_the_letter_h() |
| 30 | + public void MissingTheLetterH() |
31 | 31 | { |
32 | 32 | Assert.False(Pangram.IsPangram("five boxing wizards jump quickly at it")); |
33 | 33 | } |
34 | 34 |
|
35 | 35 | [Fact(Skip = "Remove this Skip property to run this test")] |
36 | | - public void With_underscores() |
| 36 | + public void WithUnderscores() |
37 | 37 | { |
38 | 38 | Assert.True(Pangram.IsPangram("the_quick_brown_fox_jumps_over_the_lazy_dog")); |
39 | 39 | } |
40 | 40 |
|
41 | 41 | [Fact(Skip = "Remove this Skip property to run this test")] |
42 | | - public void With_numbers() |
| 42 | + public void WithNumbers() |
43 | 43 | { |
44 | 44 | Assert.True(Pangram.IsPangram("the 1 quick brown fox jumps over the 2 lazy dogs")); |
45 | 45 | } |
46 | 46 |
|
47 | 47 | [Fact(Skip = "Remove this Skip property to run this test")] |
48 | | - public void Missing_letters_replaced_by_numbers() |
| 48 | + public void MissingLettersReplacedByNumbers() |
49 | 49 | { |
50 | 50 | Assert.False(Pangram.IsPangram("7h3 qu1ck brown fox jumps ov3r 7h3 lazy dog")); |
51 | 51 | } |
52 | 52 |
|
53 | 53 | [Fact(Skip = "Remove this Skip property to run this test")] |
54 | | - public void Mixed_case_and_punctuation() |
| 54 | + public void MixedCaseAndPunctuation() |
55 | 55 | { |
56 | 56 | Assert.True(Pangram.IsPangram("\"Five quacking Zephyrs jolt my wax bed.\"")); |
57 | 57 | } |
58 | 58 |
|
59 | 59 | [Fact(Skip = "Remove this Skip property to run this test")] |
60 | | - public void A_m_and_a_m_are_26_different_characters_but_not_a_pangram() |
| 60 | + public void AMAndAMAre26DifferentCharactersButNotAPangram() |
61 | 61 | { |
62 | 62 | Assert.False(Pangram.IsPangram("abcdefghijklm ABCDEFGHIJKLM")); |
63 | 63 | } |
|
0 commit comments