@@ -136,12 +136,16 @@ func TestSymmetricDifference(t *testing.T) {
136
136
t .Parallel ()
137
137
138
138
t .Run ("Simple" , func (t * testing.T ) {
139
+ t .Parallel ()
140
+
139
141
add , remove := slice .SymmetricDifference ([]int {1 , 3 , 4 }, []int {1 , 2 })
140
142
require .ElementsMatch (t , []int {2 }, add )
141
143
require .ElementsMatch (t , []int {3 , 4 }, remove )
142
144
})
143
145
144
146
t .Run ("Large" , func (t * testing.T ) {
147
+ t .Parallel ()
148
+
145
149
add , remove := slice .SymmetricDifference (
146
150
[]int {1 , 2 , 3 , 4 , 5 , 10 , 11 , 12 , 13 , 14 , 15 },
147
151
[]int {1 , 3 , 7 , 9 , 11 , 13 , 17 },
@@ -151,6 +155,8 @@ func TestSymmetricDifference(t *testing.T) {
151
155
})
152
156
153
157
t .Run ("AddOnly" , func (t * testing.T ) {
158
+ t .Parallel ()
159
+
154
160
add , remove := slice .SymmetricDifference (
155
161
[]int {1 , 2 },
156
162
[]int {1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 },
@@ -160,6 +166,8 @@ func TestSymmetricDifference(t *testing.T) {
160
166
})
161
167
162
168
t .Run ("RemoveOnly" , func (t * testing.T ) {
169
+ t .Parallel ()
170
+
163
171
add , remove := slice .SymmetricDifference (
164
172
[]int {1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 },
165
173
[]int {1 , 2 },
@@ -169,6 +177,8 @@ func TestSymmetricDifference(t *testing.T) {
169
177
})
170
178
171
179
t .Run ("Equal" , func (t * testing.T ) {
180
+ t .Parallel ()
181
+
172
182
add , remove := slice .SymmetricDifference (
173
183
[]int {1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 },
174
184
[]int {1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 },
0 commit comments