From 311b3f9ec27fd3b31ae2e14a5ca0b3eef48fb0e7 Mon Sep 17 00:00:00 2001 From: Maximilian Linhoff Date: Fri, 6 Sep 2024 15:35:15 +0200 Subject: [PATCH] Test commutation --- tests/particle/test_particle.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/particle/test_particle.py b/tests/particle/test_particle.py index 354836e6..e6dd5a5d 100644 --- a/tests/particle/test_particle.py +++ b/tests/particle/test_particle.py @@ -728,6 +728,7 @@ def test_eq_non_unique_pdgids(pdgid1, pdgid2): p2 = Particle.from_pdgid(pdgid2) assert p1.pdgid != p2.pdgid assert p1 == p2 + assert p2 == p1 assert hash(p1) == hash(p2)