Commit d83ea3d
authored
Merge pull request #2227 from IntelPython/update-tests-part-2
This is part 2 of a series of PRs in which the tests are refactored. In
this PR, `test_linalg.py`, `test_product.py`, `test_statistics.py`,
`test_fft.py`, and `test_sort.py` are updated.
Part 1 was #2210.
The main change is to use a common function
`generate_random_numpy_array` from `dpnp/tests/helper.py` for generating
input array for different tests.File tree
8 files changed
+284
-994
lines changed- dpnp/tests
8 files changed
+284
-994
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
187 | 193 | | |
188 | 194 | | |
189 | 195 | | |
| |||
197 | 203 | | |
198 | 204 | | |
199 | 205 | | |
| 206 | + | |
| 207 | + | |
200 | 208 | | |
201 | 209 | | |
202 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
203 | 213 | | |
204 | | - | |
205 | | - | |
| 214 | + | |
206 | 215 | | |
| 216 | + | |
207 | 217 | | |
208 | 218 | | |
209 | 219 | | |
| |||
0 commit comments