|
6 | 6 | [coll] |
7 | 7 | (clojure.string/join "\n" coll)) |
8 | 8 |
|
9 | | -(deftest test-404b7262-c050-4df0-a2a2-0cb06cd6a821 |
| 9 | +(deftest transpose_test_1 |
10 | 10 | (testing "empty string" |
11 | 11 | (is (= (join-with-line-separator [""]) |
12 | 12 | (transpose/transpose |
13 | 13 | (join-with-line-separator [""])))))) |
14 | 14 |
|
15 | | -(deftest test-a89ce8a3-c940-4703-a688-3ea39412fbcb |
| 15 | +(deftest transpose_test_2 |
16 | 16 | (testing "two characters in a row" |
17 | 17 | (is (= (join-with-line-separator ["A" |
18 | 18 | "1"]) |
19 | 19 | (transpose/transpose |
20 | 20 | (join-with-line-separator ["A1"])))))) |
21 | 21 |
|
22 | | -(deftest test-855bb6ae-4180-457c-abd0-ce489803ce98 |
| 22 | +(deftest transpose_test_3 |
23 | 23 | (testing "two characters in a column" |
24 | 24 | (is (= (join-with-line-separator ["A1"]) |
25 | 25 | (transpose/transpose |
26 | 26 | (join-with-line-separator ["A" |
27 | 27 | "1"])))))) |
28 | 28 |
|
29 | | -(deftest test-5ceda1c0-f940-441c-a244-0ced197769c8 |
| 29 | +(deftest transpose_test_4 |
30 | 30 | (testing "simple" |
31 | 31 | (is (= (join-with-line-separator ["A1" |
32 | 32 | "B2" |
|
35 | 35 | (join-with-line-separator ["ABC" |
36 | 36 | "123"])))))) |
37 | 37 |
|
38 | | -(deftest test-a54675dd-ae7d-4a58-a9c4-0c20e99a7c1f |
| 38 | +(deftest transpose_test_5 |
39 | 39 | (testing "single line" |
40 | 40 | (is (= (join-with-line-separator ["S" |
41 | 41 | "i" |
|
52 | 52 | (transpose/transpose |
53 | 53 | (join-with-line-separator ["Single line."])))))) |
54 | 54 |
|
55 | | -(deftest test-0dc2ec0b-549d-4047-aeeb-8029fec8d5c5 |
| 55 | +(deftest transpose_test_6 |
56 | 56 | (testing "first line longer than second line" |
57 | 57 | (is (= (join-with-line-separator ["TT" |
58 | 58 | "hh" |
|
74 | 74 | (join-with-line-separator ["The fourth line." |
75 | 75 | "The fifth line."])))))) |
76 | 76 |
|
77 | | -(deftest test-984e2ec3-b3d3-4b53-8bd6-96f5ef404102 |
| 77 | +(deftest transpose_test_7 |
78 | 78 | (testing "second line longer than first line" |
79 | 79 | (is (= (join-with-line-separator ["TT" |
80 | 80 | "hh" |
|
96 | 96 | (join-with-line-separator ["The first line.", |
97 | 97 | "The second line."])))))) |
98 | 98 |
|
99 | | -(deftest test-eccd3784-45f0-4a3f-865a-360cb323d314 |
| 99 | +(deftest transpose_test_8 |
100 | 100 | (testing "mixed line length" |
101 | 101 | (is (= (join-with-line-separator ["TAAA" |
102 | 102 | "h " |
|
121 | 121 | "A longer line." |
122 | 122 | "A line."])))))) |
123 | 123 |
|
124 | | -(deftest test-85b96b3f-d00c-4f80-8ca2-c8a5c9216c2d |
| 124 | +(deftest transpose_test_9 |
125 | 125 | (testing "square" |
126 | 126 | (is (= (join-with-line-separator ["HEART" |
127 | 127 | "EMBER" |
|
135 | 135 | "RESIN" |
136 | 136 | "TREND"])))))) |
137 | 137 |
|
138 | | -(deftest test-b9257625-7a53-4748-8863-e08e9d27071d |
| 138 | +(deftest transpose_test_10 |
139 | 139 | (testing "rectangle" |
140 | 140 | (is (= (join-with-line-separator ["FOBS" |
141 | 141 | "RULE" |
|
151 | 151 | "BLOOMING" |
152 | 152 | "SEPTETTE"])))))) |
153 | 153 |
|
154 | | -(deftest test-b80badc9-057e-4543-bd07-ce1296a1ea2c |
| 154 | +(deftest transpose_test_11 |
155 | 155 | (testing "triangle" |
156 | 156 | (is (= (join-with-line-separator ["TEASER" |
157 | 157 | " EASER" |
|
167 | 167 | "EEEEE" |
168 | 168 | "RRRRRR"])))))) |
169 | 169 |
|
170 | | -(deftest test-76acfd50-5596-4d05-89f1-5116328a7dd9 |
| 170 | +(deftest transpose_test_12 |
171 | 171 | (testing "jagged triangle" |
172 | 172 | (is (= (join-with-line-separator ["123456" |
173 | 173 | "1 3456" |
|
0 commit comments