(u_shape, v_shape)
| 1448 | ], |
| 1449 | ) |
| 1450 | def test_broadcast_operator(u_shape, v_shape): |
| 1451 | rng = np.random.default_rng() |
| 1452 | u = rng.random(u_shape) |
| 1453 | v = rng.random(v_shape) |
| 1454 | |
| 1455 | d_u = from_array(u, chunks=1) |
| 1456 | d_v = from_array(v, chunks=1) |
| 1457 | |
| 1458 | w = u * v |
| 1459 | d_w = d_u * d_v |
| 1460 | |
| 1461 | assert_eq(w, d_w) |
| 1462 | |
| 1463 | |
| 1464 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected