|
2 | 2 | (:require [clojure.test :refer [deftest testing is]]
|
3 | 3 | isogram))
|
4 | 4 |
|
5 |
| -(deftest test-a0e97d2d-669e-47c7-8134-518a1e2c4555 |
| 5 | +(deftest isogram?_test_1 |
6 | 6 | (testing "empty string"
|
7 | 7 | (is (true? (isogram/isogram? "")))))
|
8 | 8 |
|
9 |
| -(deftest test-9a001b50-f194-4143-bc29-2af5ec1ef652 |
| 9 | +(deftest isogram?_test_2 |
10 | 10 | (testing "isogram with only lower case characters"
|
11 | 11 | (is (true? (isogram/isogram? "isogram")))))
|
12 | 12 |
|
13 |
| -(deftest test-8ddb0ca3-276e-4f8b-89da-d95d5bae78a4 |
| 13 | +(deftest isogram?_test_3 |
14 | 14 | (testing "word with one duplicated character"
|
15 | 15 | (is (false? (isogram/isogram? "eleven")))))
|
16 | 16 |
|
17 |
| -(deftest test-6450b333-cbc2-4b24-a723-0b459b34fe18 |
| 17 | +(deftest isogram?_test_4 |
18 | 18 | (testing "word with one duplicated character from the end of the alphabet"
|
19 | 19 | (is (false? (isogram/isogram? "zzyzx")))))
|
20 | 20 |
|
21 |
| -(deftest test-a15ff557-dd04-4764-99e7-02cc1a385863 |
| 21 | +(deftest isogram?_test_5 |
22 | 22 | (testing "longest reported english isogram"
|
23 | 23 | (is (true? (isogram/isogram? "subdermatoglyphic")))))
|
24 | 24 |
|
25 |
| -(deftest test-f1a7f6c7-a42f-4915-91d7-35b2ea11c92e |
| 25 | +(deftest isogram?_test_6 |
26 | 26 | (testing "word with duplicated character in mixed case"
|
27 | 27 | (is (false? (isogram/isogram? "Alphabet")))))
|
28 | 28 |
|
29 |
| -(deftest test-14a4f3c1-3b47-4695-b645-53d328298942 |
| 29 | +(deftest isogram?_test_7 |
30 | 30 | (testing "word with duplicated character in mixed case, lowercase first"
|
31 | 31 | (is (false? (isogram/isogram? "alphAbet")))))
|
32 | 32 |
|
33 |
| -(deftest test-423b850c-7090-4a8a-b057-97f1cadd7c42 |
| 33 | +(deftest isogram?_test_8 |
34 | 34 | (testing "hypothetical isogrammic word with hyphen"
|
35 | 35 | (is (true? (isogram/isogram? "thumbscrew-japingly")))))
|
36 | 36 |
|
37 |
| -(deftest test-93dbeaa0-3c5a-45c2-8b25-428b8eacd4f2 |
| 37 | +(deftest isogram?_test_9 |
38 | 38 | (testing "hypothetical word with duplicated character following hyphen"
|
39 | 39 | (is (false? (isogram/isogram? "thumbscrew-jappingly")))))
|
40 | 40 |
|
41 |
| -(deftest test-36b30e5c-173f-49c6-a515-93a3e825553f |
| 41 | +(deftest isogram?_test_10 |
42 | 42 | (testing "isogram with duplicated hyphen"
|
43 | 43 | (is (true? (isogram/isogram? "six-year-old")))))
|
44 | 44 |
|
45 |
| -(deftest test-cdabafa0-c9f4-4c1f-b142-689c6ee17d93 |
| 45 | +(deftest isogram?_test_11 |
46 | 46 | (testing "made-up name that is an isogram"
|
47 | 47 | (is (true? (isogram/isogram? "Emily Jung Schwartzkopf")))))
|
48 | 48 |
|
49 |
| -(deftest test-5fc61048-d74e-48fd-bc34-abfc21552d4d |
| 49 | +(deftest isogram?_test_12 |
50 | 50 | (testing "duplicated character in the middle"
|
51 | 51 | (is (false? (isogram/isogram? "accentor")))))
|
52 | 52 |
|
53 |
| -(deftest test-310ac53d-8932-47bc-bbb4-b2b94f25a83e |
| 53 | +(deftest isogram?_test_13 |
54 | 54 | (testing "same first and last characters"
|
55 | 55 | (is (false? (isogram/isogram? "angola")))))
|
56 | 56 |
|
57 |
| -(deftest test-0d0b8644-0a1e-4a31-a432-2b3ee270d847 |
| 57 | +(deftest isogram?_test_4 |
58 | 58 | (testing "word with duplicated character and with two hyphens"
|
59 | 59 | (is (false? (isogram/isogram? "up-to-date")))))
|
0 commit comments