Exemplo n.º 1
0
def test_pythia_definitions_parsing():
    p = DecFileParser(DIR / '../data/defs-aliases-chargeconj.dec')
    p.parse()

    assert p.dict_pythia_definitions() == {
        'ParticleDecays:mixB': 'off',
        'Init:showChangedSettings': 'off',
        'Init:showChangedParticleData': 'off',
        'Next:numberShowEvent': 0.0
    }
Exemplo n.º 2
0
def test_pythia_definitions_parsing():
    p = DecFileParser(DIR / "../data/defs-aliases-chargeconj.dec")
    p.parse()

    assert p.dict_pythia_definitions() == {
        "ParticleDecays:mixB": "off",
        "Init:showChangedSettings": "off",
        "Init:showChangedParticleData": "off",
        "Next:numberShowEvent": 0.0,
    }