()
| 1367 | |
| 1368 | |
| 1369 | def test_broadcast_to_scalar(): |
| 1370 | x = 5 |
| 1371 | |
| 1372 | for shape in [tuple(), (0,), (2, 3), (5, 4, 6), (2, 5, 1, 6), (3, 4, 5, 4, 6)]: |
| 1373 | a = np.broadcast_to(x, shape) |
| 1374 | d = broadcast_to(x, shape) |
| 1375 | |
| 1376 | assert_eq(a, d) |
| 1377 | |
| 1378 | |
| 1379 | def test_broadcast_to_chunks(): |
nothing calls this directly
no test coverage detected