Skip to content

Commit

Permalink
Test for model GOITY_ROBERTS
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardo-rodrigues committed Aug 9, 2023
1 parent ef7e325 commit 7ceb063
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions tests/data/models/model-GOITY_ROBERTS.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Decay B0
0.0015 D- pi0 mu+ nu_mu PHOTOS GOITY_ROBERTS;
Enddecay

End
2 changes: 1 addition & 1 deletion tests/dec/test_known_decay_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def test_model_parsing(decay_model: str, expected_model_parameters: str):
are parsed with no errors but, most importantly, correctly.
"""
# TODO: actually test all models - takes time
if decay_model not in {"BaryonPCR", "LNUGAMMA", "PHSP", "SSD_CP"}:
if decay_model not in {"BaryonPCR", "GOITY_ROBERTS", "LNUGAMMA", "PHSP", "SSD_CP"}:
pass
else:
dfp = DecFileParser(DIR / f"../data/models/model-{decay_model}.dec")
Expand Down

0 comments on commit 7ceb063

Please sign in to comment.