|
|
@@ -11,63 +11,63 @@ public class IsogramCheckerTest {
|
|
11
|
11
|
assertTrue(iso.isIsogram("duplicates"));
|
|
12
|
12
|
}
|
|
13
|
13
|
|
|
14
|
|
- @Ignore
|
|
|
14
|
+ @Ignore("Remove to run test")
|
|
15
|
15
|
@Test
|
|
16
|
16
|
public void testNotIsogram() {
|
|
17
|
17
|
IsogramChecker iso = new IsogramChecker();
|
|
18
|
18
|
assertFalse(iso.isIsogram("eleven"));
|
|
19
|
19
|
}
|
|
20
|
20
|
|
|
21
|
|
- @Ignore
|
|
|
21
|
+ @Ignore("Remove to run test")
|
|
22
|
22
|
@Test
|
|
23
|
23
|
public void testMediumLongIsogram() {
|
|
24
|
24
|
IsogramChecker iso = new IsogramChecker();
|
|
25
|
25
|
assertTrue(iso.isIsogram("subdermatoglyphic"));
|
|
26
|
26
|
}
|
|
27
|
27
|
|
|
28
|
|
- @Ignore
|
|
|
28
|
+ @Ignore("Remove to run test")
|
|
29
|
29
|
@Test
|
|
30
|
30
|
public void testCaseInsensitive() {
|
|
31
|
31
|
IsogramChecker iso = new IsogramChecker();
|
|
32
|
32
|
assertFalse(iso.isIsogram("Alphabet"));
|
|
33
|
33
|
}
|
|
34
|
34
|
|
|
35
|
|
- @Ignore
|
|
|
35
|
+ @Ignore("Remove to run test")
|
|
36
|
36
|
@Test
|
|
37
|
37
|
public void testIsogramWithHyphen() {
|
|
38
|
38
|
IsogramChecker iso = new IsogramChecker();
|
|
39
|
39
|
assertTrue(iso.isIsogram("thumbscrew-japingly"));
|
|
40
|
40
|
}
|
|
41
|
41
|
|
|
42
|
|
- @Ignore
|
|
|
42
|
+ @Ignore("Remove to run test")
|
|
43
|
43
|
@Test
|
|
44
|
44
|
public void testIgnoresMultipleHyphens() {
|
|
45
|
45
|
IsogramChecker iso = new IsogramChecker();
|
|
46
|
46
|
assertTrue(iso.isIsogram("Hjelmqvist-Gryb-Zock-Pfund-Wax"));
|
|
47
|
47
|
}
|
|
48
|
48
|
|
|
49
|
|
- @Ignore
|
|
|
49
|
+ @Ignore("Remove to run test")
|
|
50
|
50
|
@Test
|
|
51
|
51
|
public void testWorksWithGermanLetters() {
|
|
52
|
52
|
IsogramChecker iso = new IsogramChecker();
|
|
53
|
53
|
assertTrue(iso.isIsogram("Heizölrückstoßabdämpfung"));
|
|
54
|
54
|
}
|
|
55
|
55
|
|
|
56
|
|
- @Ignore
|
|
|
56
|
+ @Ignore("Remove to run test")
|
|
57
|
57
|
@Test
|
|
58
|
58
|
public void testIgnoresSpaces() {
|
|
59
|
59
|
IsogramChecker iso = new IsogramChecker();
|
|
60
|
60
|
assertFalse(iso.isIsogram("the quick brown fox"));
|
|
61
|
61
|
}
|
|
62
|
62
|
|
|
63
|
|
- @Ignore
|
|
|
63
|
+ @Ignore("Remove to run test")
|
|
64
|
64
|
@Test
|
|
65
|
65
|
public void testIgnoresSpaces2() {
|
|
66
|
66
|
IsogramChecker iso = new IsogramChecker();
|
|
67
|
67
|
assertTrue(iso.isIsogram("Emily Jung Schwartzkopf"));
|
|
68
|
68
|
}
|
|
69
|
69
|
|
|
70
|
|
- @Ignore
|
|
|
70
|
+ @Ignore("Remove to run test")
|
|
71
|
71
|
@Test
|
|
72
|
72
|
public void testDuplicateAccentedLetters() {
|
|
73
|
73
|
IsogramChecker iso = new IsogramChecker();
|