diff --git a/tests/data/models/model-PVV_CPLH.dec b/tests/data/models/model-PVV_CPLH.dec new file mode 100644 index 00000000..af961ed2 --- /dev/null +++ b/tests/data/models/model-PVV_CPLH.dec @@ -0,0 +1,14 @@ +# File for testing purposes. Contains a single decay mode with a specific model. + +Define Hp 0.49 +Define Hz 0.775 +Define Hm 0.4 +Define pHp 2.50 +Define pHz 0.0 +Define pHm -0.17 + +Decay B_s0 + 1.0 psi(2S) phi PVV_CPLH 0.02 1 Hp pHp Hz pHz Hm pHm; +Enddecay + +End diff --git a/tests/data/models/model-PYCONT.dec b/tests/data/models/model-PYCONT.dec new file mode 100644 index 00000000..b11954b5 --- /dev/null +++ b/tests/data/models/model-PYCONT.dec @@ -0,0 +1,7 @@ +# File for testing purposes. Contains a single decay mode with a specific model. + +Decay vpho +1.0 PYCONT; +Enddecay + +End diff --git a/tests/dec/test_known_decay_models.py b/tests/dec/test_known_decay_models.py index dc2c2c9d..55674c93 100644 --- a/tests/dec/test_known_decay_models.py +++ b/tests/dec/test_known_decay_models.py @@ -147,7 +147,7 @@ def test_lark_file_model_list_consistency(): ("LLSW", [0.71, -1.6, -0.5, 2.9]), ("LNUGAMMA", [0.35, 3.0, 5.0, 0.0]), # ("LQCD", ""), - # ("MELIKHOV", ""), + # ("MELIKHOV", ""), # No dec file available for testing from LHCb or Belle-II ("OMEGA_DALITZ", ""), ("PARTWAVE", [0.0, 0.0, 1.0, 0.0, 0.0, 0.0]), ("PHI_DALITZ", ""), @@ -155,7 +155,7 @@ def test_lark_file_model_list_consistency(): ("PHSPFLATLIFETIME", [12]), ("PHSP", ""), ("PI0_DALITZ", ""), - # ("PROPSLPOLE", ""), + # ("PROPSLPOLE", ""), # No dec file available for testing from LHCb or Belle-II ( "PTO3P", [ @@ -257,8 +257,8 @@ def test_lark_file_model_list_consistency(): -2.29, ], ), - # ("PVV_CPLH", ""), - # ("PYCONT", ""), + ("PVV_CPLH", [0.02, 1.0, 0.49, 2.50, 0.775, 0.0, 0.4, -0.17]), + ("PYCONT", ""), ("PYTHIA", [21]), # ("SLBKPOLE", ""), # ("SLL", ""), @@ -311,7 +311,7 @@ def test_lark_file_model_list_consistency(): def test_parsing_of_all_known_models_are_tested(): assert ( - len(parsed_models) == len(known_decay_models) - 44 + len(parsed_models) == len(known_decay_models) - 42 ) # subtract for now the number of models not yet tested