Test optimized sum of squares.
()
| 97 | |
| 98 | |
| 99 | def test_sum_squared(): |
| 100 | """Test optimized sum of squares.""" |
| 101 | X = np.random.RandomState(0).randint(0, 50, (3, 3)) |
| 102 | assert np.sum(X**2) == sum_squared(X) |
| 103 | |
| 104 | |
| 105 | def test_compute_corr(): |
nothing calls this directly
no test coverage detected