Skip to content

Commit

Permalink
Test also coinciding bins
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Oct 24, 2023
1 parent b629aa0 commit 21c81a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pineappl_py/tests/test_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,11 @@ def test_merge(self):

g.merge(g1)
assert g.bins() == 4

g2 = self.fake_grid([1, 2, 3])
g3 = self.fake_grid([1, 2, 3])
assert g2.bins() == 2
assert g3.bins() == 2

g2.merge(g3)
assert g2.bins() == 2

0 comments on commit 21c81a3

Please sign in to comment.