(self)
| 121 | assert_(np.all(mx.ptp(1) == np.array([1, 1]))) |
| 122 | |
| 123 | def test_var(self): |
| 124 | x = np.arange(9).reshape((3, 3)) |
| 125 | mx = x.view(np.matrix) |
| 126 | assert_equal(x.var(ddof=0), mx.var(ddof=0)) |
| 127 | assert_equal(x.var(ddof=1), mx.var(ddof=1)) |
| 128 | |
| 129 | def test_basic(self): |
| 130 | import numpy.linalg as linalg |
nothing calls this directly
no test coverage detected