(self)
| 452 | ) |
| 453 | |
| 454 | def test_wide_matrix(self): |
| 455 | a = np.zeros((3, 10), int) |
| 456 | fill_diagonal(a, 5) |
| 457 | assert_array_equal( |
| 458 | a, np.array([[5, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| 459 | [0, 5, 0, 0, 0, 0, 0, 0, 0, 0], |
| 460 | [0, 0, 5, 0, 0, 0, 0, 0, 0, 0]]) |
| 461 | ) |
| 462 | |
| 463 | def test_operate_4d_array(self): |
| 464 | a = np.zeros((3, 3, 3, 3), int) |
nothing calls this directly
no test coverage detected