From 2ab3f5e93a4e4a5cab0f91c555904d9bf22017e5 Mon Sep 17 00:00:00 2001 From: Wolfgang Waltenberger Date: Tue, 14 May 2024 15:47:58 +0200 Subject: [PATCH] check also for muhat, just to document that this is working also --- unittests/testTheoryPredCombinations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unittests/testTheoryPredCombinations.py b/unittests/testTheoryPredCombinations.py index 533e32e65..3b634b5bf 100755 --- a/unittests/testTheoryPredCombinations.py +++ b/unittests/testTheoryPredCombinations.py @@ -54,6 +54,7 @@ def testConstruction(self): t.computeStatistics() combiner = TheoryPredictionsCombiner(tpreds) combiner.computeStatistics() + self.assertAlmostEqual(combiner.muhat(), 1.205884272994354, 4) self.assertAlmostEqual(combiner.lsm(), 2.756169857697467e-06, 4) self.assertAlmostEqual(combiner.likelihood(), 5.001298746531528e-06, 4) self.assertAlmostEqual(combiner.lmax(), 5.131156389020586e-06, 4)