equal
deleted
inserted
replaced
112 expected.add("\u9f9c\u672c7890"); |
112 expected.add("\u9f9c\u672c7890"); |
113 |
113 |
114 data.add(new Object[]{description, input, pattern, expected}); |
114 data.add(new Object[]{description, input, pattern, expected}); |
115 |
115 |
116 |
116 |
|
117 description = "Empty input"; |
117 input = ""; |
118 input = ""; |
118 pattern = Pattern.compile("\u56da"); |
119 pattern = Pattern.compile("\u56da"); |
119 expected = new ArrayList<>(); |
120 expected = new ArrayList<>(); |
|
121 expected.add(""); |
|
122 |
|
123 data.add(new Object[]{description, input, pattern, expected}); |
|
124 |
|
125 |
|
126 description = "Empty input with empty pattern"; |
|
127 input = ""; |
|
128 pattern = Pattern.compile(""); |
|
129 expected = new ArrayList<>(); |
|
130 expected.add(""); |
120 |
131 |
121 data.add(new Object[]{description, input, pattern, expected}); |
132 data.add(new Object[]{description, input, pattern, expected}); |
122 |
133 |
123 |
134 |
124 description = "Multiple separators"; |
135 description = "Multiple separators"; |