def test_jointree_marginal_evidence(self):
        ft = FactorTree.create_jointree(self.bn)
        ft.set_evidence({"winter": "true"})
        resFactor = ft.marginals(["wet_grass"])
        np.testing.assert_array_almost_equal(resFactor.get_potential(), np.array([0.668, 0.332]))