(self)
| 436 | ) |
| 437 | |
| 438 | def test_tall_matrix_wrap(self): |
| 439 | a = np.zeros((10, 3), int) |
| 440 | fill_diagonal(a, 5, True) |
| 441 | assert_array_equal( |
| 442 | a, np.array([[5, 0, 0], |
| 443 | [0, 5, 0], |
| 444 | [0, 0, 5], |
| 445 | [0, 0, 0], |
| 446 | [5, 0, 0], |
| 447 | [0, 5, 0], |
| 448 | [0, 0, 5], |
| 449 | [0, 0, 0], |
| 450 | [5, 0, 0], |
| 451 | [0, 5, 0]]) |
| 452 | ) |
| 453 | |
| 454 | def test_wide_matrix(self): |
| 455 | a = np.zeros((3, 10), int) |
nothing calls this directly
no test coverage detected