From 3c6588f2cdc09524a4ed270fd6fade282fa6816c Mon Sep 17 00:00:00 2001 From: Ka Wa Ho Date: Wed, 11 Sep 2024 22:23:17 -0400 Subject: [PATCH] adding to test_exclusive_jets_softdrop_grooming test --- tests/test_002-exclusive_jets.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/test_002-exclusive_jets.py b/tests/test_002-exclusive_jets.py index d5ea038..cb80c90 100644 --- a/tests/test_002-exclusive_jets.py +++ b/tests/test_002-exclusive_jets.py @@ -234,6 +234,8 @@ def test_exclusive_jets_softdrop_grooming(): {"px": 32.45, "py": 63.21, "pz": 543.14, "E": 599.56}, ], "msoftdrop": 488.2395243115817, + "deltaRsoftdrop": 0.009873899817126915, + "symmetrysoftdrop": 0.49727522889673303, "ptsoftdrop": 142.88274528437645, "etasoftdrop": 2.726117171791057, "phisoftdrop": 1.1012644074821902, @@ -275,6 +277,18 @@ def test_exclusive_jets_softdrop_grooming(): rtol=1e-12, atol=0, ), + ak.isclose( + ak.Array([softdrop_output.deltaRsoftdrop]), + ak.Array([softdrop.deltaRsoftdrop]), + rtol=1e-12, + atol=0, + ), + ak.isclose( + ak.Array([softdrop_output.symmetrysoftdrop]), + ak.Array([softdrop.symmetrysoftdrop]), + rtol=1e-12, + atol=0, + ), ak.isclose( ak.Array([softdrop_output.ptsoftdrop]), ak.Array([softdrop.ptsoftdrop]),