Skip to content

Commit

Permalink
add test_fractional_split
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherMayes committed Nov 20, 2024
1 parent cbbf531 commit bd48d43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_particlegroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,8 @@ def test_write_reload(tmp_path):

P2.x += 1
assert P != P2


def test_fractional_split():
head, tail = P.fractional_split(0.5, "t")
head, core, tail = P.fractional_split((0.1, 0.9), "t")

0 comments on commit bd48d43

Please sign in to comment.