()
| 23 | assert_array_equal(numpy.matlib.zeros(2), np.matrix([[0., 0.]])) |
| 24 | |
| 25 | def test_identity(): |
| 26 | x = numpy.matlib.identity(2, dtype=int) |
| 27 | assert_array_equal(x, np.matrix([[1, 0], [0, 1]])) |
| 28 | |
| 29 | def test_eye(): |
| 30 | xc = numpy.matlib.eye(3, k=1, dtype=int) |
nothing calls this directly
no test coverage detected
searching dependent graphs…