def test_bucket_marginal_evidence(self):
        resFactor = VariableElimination.bucket_marginals(self.bn, ["wet_grass"], {"winter": "true"})
        np.testing.assert_array_almost_equal(resFactor.get_potential(), np.array([0.668, 0.332]))