(self)
| 1390 | assert_array_equal(r, [5, 8, 1, 4]) |
| 1391 | |
| 1392 | def test_large(self): |
| 1393 | x = np.linspace(-3, 2, 10000) |
| 1394 | f = vectorize(lambda x: x) |
| 1395 | y = f(x) |
| 1396 | assert_array_equal(y, x) |
| 1397 | |
| 1398 | def test_ufunc(self): |
| 1399 | f = vectorize(math.cos) |
nothing calls this directly
no test coverage detected