(self)
| 1237 | self.data = array(np.random.rand(12)) |
| 1238 | |
| 1239 | def test_1d_without_missing(self): |
| 1240 | # Test cov on 1D variable w/o missing values |
| 1241 | x = self.data |
| 1242 | assert_almost_equal(np.cov(x), cov(x)) |
| 1243 | assert_almost_equal(np.cov(x, rowvar=False), cov(x, rowvar=False)) |
| 1244 | assert_almost_equal(np.cov(x, rowvar=False, bias=True), |
| 1245 | cov(x, rowvar=False, bias=True)) |
| 1246 | |
| 1247 | def test_2d_without_missing(self): |
| 1248 | # Test cov on 1 2D variable w/o missing values |
nothing calls this directly
no test coverage detected