(self)
| 420 | ) |
| 421 | |
| 422 | def test_tall_matrix(self): |
| 423 | a = np.zeros((10, 3), int) |
| 424 | fill_diagonal(a, 5) |
| 425 | assert_array_equal( |
| 426 | a, np.array([[5, 0, 0], |
| 427 | [0, 5, 0], |
| 428 | [0, 0, 5], |
| 429 | [0, 0, 0], |
| 430 | [0, 0, 0], |
| 431 | [0, 0, 0], |
| 432 | [0, 0, 0], |
| 433 | [0, 0, 0], |
| 434 | [0, 0, 0], |
| 435 | [0, 0, 0]]) |
| 436 | ) |
| 437 | |
| 438 | def test_tall_matrix_wrap(self): |
| 439 | a = np.zeros((10, 3), int) |
nothing calls this directly
no test coverage detected