diff --git a/testsuite/MDAnalysisTests/analysis/test_encore.py b/testsuite/MDAnalysisTests/analysis/test_encore.py index b579c02bdbb..7aa547d32fb 100644 --- a/testsuite/MDAnalysisTests/analysis/test_encore.py +++ b/testsuite/MDAnalysisTests/analysis/test_encore.py @@ -395,6 +395,11 @@ def test_dres_error_estimation(self, ens1): assert stdev < stdev_upper_bound, "Unexpected standard deviation for" \ " bootstrapped samples in Dim. reduction Ensemble imilarity" + def test_covariance_matrix(self, + ens1, ens2): + covariance_of_matrix = encore.covariance.covariance_matrix(ensemble = ens1, reference = ens2) + assert covariance_of_matrix is np.zeros(len(ens1), 3) + class TestEncoreClustering(object): @pytest.fixture(scope='class') def ens1_template(self):