From f10eb4e2913daa13a39683be6ad3061cf6af5d22 Mon Sep 17 00:00:00 2001 From: Johannes Schumann <johannes.schumann@fau.de> Date: Wed, 10 Nov 2021 13:21:57 +0100 Subject: [PATCH] Update test values --- km3buu/tests/test_output.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/km3buu/tests/test_output.py b/km3buu/tests/test_output.py index ed85fd1..3a3809b 100644 --- a/km3buu/tests/test_output.py +++ b/km3buu/tests/test_output.py @@ -79,6 +79,11 @@ class TestGiBUUOutput(unittest.TestCase): w2[:3], [2.42100575e-06, 1.14490671e-08, 3.59246902e-05], decimal=5) + def test_global_generation_weight(self): + self.assertAlmostEqual(self.output.global_generation_weight(4 * np.pi), + 2511.13458, + places=2) + @pytest.mark.skipif(not KM3NET_LIB_AVAILABLE, reason="KM3NeT dataformat required") -- GitLab