Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_has_strange(PDGIDs):
assert has_strange(PDGIDs.Photon) == False
assert has_strange(PDGIDs.Gluon) == False
assert has_strange(PDGIDs.Electron) == False
assert has_strange(PDGIDs.AntiMuon) == False
assert has_strange(PDGIDs.jpsi) == False
assert has_strange(PDGIDs.Upsilon_1S) == False
assert has_strange(PDGIDs.PiPlus) == False
assert has_strange(PDGIDs.KMinus) == True
assert has_strange(PDGIDs.D0) == False
assert has_strange(PDGIDs.DPlus) == False
assert has_strange(PDGIDs.DsPlus) == True
assert has_strange(PDGIDs.B0) == False
assert has_strange(PDGIDs.Bs) == True
assert has_strange(PDGIDs.BcPlus) == False
assert has_strange(PDGIDs.Proton) == False
assert has_strange(PDGIDs.LcPlus) == False
assert has_strange(PDGIDs.Lb) == False
assert has_strange(PDGIDs.DD1) == False
assert has_strange(PDGIDs.SD0) == True
assert has_strange(PDGIDs.Invalid1) == False
assert has_strange(PDGIDs.Invalid2) == False
def test_has_strange(PDGIDs):
assert has_strange(PDGIDs.Photon) == False
assert has_strange(PDGIDs.Gluon) == False
assert has_strange(PDGIDs.Electron) == False
assert has_strange(PDGIDs.AntiMuon) == False
assert has_strange(PDGIDs.jpsi) == False
assert has_strange(PDGIDs.Upsilon_1S) == False
assert has_strange(PDGIDs.PiPlus) == False
assert has_strange(PDGIDs.KMinus) == True
assert has_strange(PDGIDs.D0) == False
assert has_strange(PDGIDs.DPlus) == False
assert has_strange(PDGIDs.DsPlus) == True
assert has_strange(PDGIDs.B0) == False
assert has_strange(PDGIDs.Bs) == True
assert has_strange(PDGIDs.BcPlus) == False
assert has_strange(PDGIDs.Proton) == False
assert has_strange(PDGIDs.LcPlus) == False
assert has_strange(PDGIDs.Lb) == False
assert has_strange(PDGIDs.DD1) == False
assert has_strange(PDGIDs.SD0) == True
assert has_strange(PDGIDs.Invalid1) == False
assert has_strange(PDGIDs.Invalid2) == False
def test_has_strange(PDGIDs):
assert has_strange(PDGIDs.Photon) == False
assert has_strange(PDGIDs.Gluon) == False
assert has_strange(PDGIDs.Electron) == False
assert has_strange(PDGIDs.AntiMuon) == False
assert has_strange(PDGIDs.jpsi) == False
assert has_strange(PDGIDs.Upsilon_1S) == False
assert has_strange(PDGIDs.PiPlus) == False
assert has_strange(PDGIDs.KMinus) == True
assert has_strange(PDGIDs.D0) == False
assert has_strange(PDGIDs.DPlus) == False
assert has_strange(PDGIDs.DsPlus) == True
assert has_strange(PDGIDs.B0) == False
assert has_strange(PDGIDs.Bs) == True
assert has_strange(PDGIDs.BcPlus) == False
assert has_strange(PDGIDs.Proton) == False
assert has_strange(PDGIDs.LcPlus) == False
assert has_strange(PDGIDs.Lb) == False
assert has_strange(PDGIDs.DD1) == False
assert has_strange(PDGIDs.SD0) == True
assert has_strange(PDGIDs.Upsilon_1S) == False
assert has_strange(PDGIDs.PiPlus) == False
assert has_strange(PDGIDs.KMinus) == True
assert has_strange(PDGIDs.D0) == False
assert has_strange(PDGIDs.DPlus) == False
assert has_strange(PDGIDs.DsPlus) == True
assert has_strange(PDGIDs.B0) == False
assert has_strange(PDGIDs.Bs) == True
assert has_strange(PDGIDs.BcPlus) == False
assert has_strange(PDGIDs.Proton) == False
assert has_strange(PDGIDs.LcPlus) == False
assert has_strange(PDGIDs.Lb) == False
assert has_strange(PDGIDs.DD1) == False
assert has_strange(PDGIDs.SD0) == True
assert has_strange(PDGIDs.Invalid1) == False
assert has_strange(PDGIDs.Invalid2) == False
assert has_strange(PDGIDs.Gluon) == False
assert has_strange(PDGIDs.Electron) == False
assert has_strange(PDGIDs.AntiMuon) == False
assert has_strange(PDGIDs.jpsi) == False
assert has_strange(PDGIDs.Upsilon_1S) == False
assert has_strange(PDGIDs.PiPlus) == False
assert has_strange(PDGIDs.KMinus) == True
assert has_strange(PDGIDs.D0) == False
assert has_strange(PDGIDs.DPlus) == False
assert has_strange(PDGIDs.DsPlus) == True
assert has_strange(PDGIDs.B0) == False
assert has_strange(PDGIDs.Bs) == True
assert has_strange(PDGIDs.BcPlus) == False
assert has_strange(PDGIDs.Proton) == False
assert has_strange(PDGIDs.LcPlus) == False
assert has_strange(PDGIDs.Lb) == False
assert has_strange(PDGIDs.DD1) == False
assert has_strange(PDGIDs.SD0) == True
assert has_strange(PDGIDs.Invalid1) == False
assert has_strange(PDGIDs.Invalid2) == False
def test_has_strange(PDGIDs):
assert has_strange(PDGIDs.Photon) == False
assert has_strange(PDGIDs.Gluon) == False
assert has_strange(PDGIDs.Electron) == False
assert has_strange(PDGIDs.AntiMuon) == False
assert has_strange(PDGIDs.jpsi) == False
assert has_strange(PDGIDs.Upsilon_1S) == False
assert has_strange(PDGIDs.PiPlus) == False
assert has_strange(PDGIDs.KMinus) == True
assert has_strange(PDGIDs.D0) == False
assert has_strange(PDGIDs.DPlus) == False
assert has_strange(PDGIDs.DsPlus) == True
assert has_strange(PDGIDs.B0) == False
assert has_strange(PDGIDs.Bs) == True
assert has_strange(PDGIDs.BcPlus) == False
assert has_strange(PDGIDs.Proton) == False
assert has_strange(PDGIDs.LcPlus) == False
assert has_strange(PDGIDs.Lb) == False
assert has_strange(PDGIDs.DD1) == False
assert has_strange(PDGIDs.SD0) == True
assert has_strange(PDGIDs.Invalid1) == False
assert has_strange(PDGIDs.Invalid2) == False
def test_has_strange(PDGIDs):
assert has_strange(PDGIDs.Photon) == False
assert has_strange(PDGIDs.Gluon) == False
assert has_strange(PDGIDs.Electron) == False
assert has_strange(PDGIDs.AntiMuon) == False
assert has_strange(PDGIDs.jpsi) == False
assert has_strange(PDGIDs.Upsilon_1S) == False
assert has_strange(PDGIDs.PiPlus) == False
assert has_strange(PDGIDs.KMinus) == True
assert has_strange(PDGIDs.D0) == False
assert has_strange(PDGIDs.DPlus) == False
assert has_strange(PDGIDs.DsPlus) == True
assert has_strange(PDGIDs.B0) == False
assert has_strange(PDGIDs.Bs) == True
assert has_strange(PDGIDs.BcPlus) == False
assert has_strange(PDGIDs.Proton) == False
assert has_strange(PDGIDs.LcPlus) == False
assert has_strange(PDGIDs.Lb) == False
assert has_strange(PDGIDs.DD1) == False
assert has_strange(PDGIDs.SD0) == True
assert has_strange(PDGIDs.Invalid1) == False
assert has_strange(PDGIDs.Invalid2) == False
def test_has_strange(PDGIDs):
assert has_strange(PDGIDs.Photon) == False
assert has_strange(PDGIDs.Gluon) == False
assert has_strange(PDGIDs.Electron) == False
assert has_strange(PDGIDs.AntiMuon) == False
assert has_strange(PDGIDs.jpsi) == False
assert has_strange(PDGIDs.Upsilon_1S) == False
assert has_strange(PDGIDs.PiPlus) == False
assert has_strange(PDGIDs.KMinus) == True
assert has_strange(PDGIDs.D0) == False
assert has_strange(PDGIDs.DPlus) == False
assert has_strange(PDGIDs.DsPlus) == True
assert has_strange(PDGIDs.B0) == False
assert has_strange(PDGIDs.Bs) == True
assert has_strange(PDGIDs.BcPlus) == False
assert has_strange(PDGIDs.Proton) == False
assert has_strange(PDGIDs.LcPlus) == False
assert has_strange(PDGIDs.Lb) == False
def test_has_strange(PDGIDs):
assert has_strange(PDGIDs.Photon) == False
assert has_strange(PDGIDs.Gluon) == False
assert has_strange(PDGIDs.Electron) == False
assert has_strange(PDGIDs.AntiMuon) == False
assert has_strange(PDGIDs.jpsi) == False
assert has_strange(PDGIDs.Upsilon_1S) == False
assert has_strange(PDGIDs.PiPlus) == False
assert has_strange(PDGIDs.KMinus) == True
assert has_strange(PDGIDs.D0) == False
assert has_strange(PDGIDs.DPlus) == False
assert has_strange(PDGIDs.DsPlus) == True
assert has_strange(PDGIDs.B0) == False
assert has_strange(PDGIDs.Bs) == True
assert has_strange(PDGIDs.BcPlus) == False
assert has_strange(PDGIDs.Proton) == False
assert has_strange(PDGIDs.LcPlus) == False
assert has_strange(PDGIDs.Lb) == False
assert has_strange(PDGIDs.DD1) == False
assert has_strange(PDGIDs.SD0) == True
assert has_strange(PDGIDs.Invalid1) == False
assert has_strange(PDGIDs.Invalid2) == False
def test_has_strange(PDGIDs):
assert has_strange(PDGIDs.Photon) == False
assert has_strange(PDGIDs.Gluon) == False
assert has_strange(PDGIDs.Electron) == False
assert has_strange(PDGIDs.AntiMuon) == False
assert has_strange(PDGIDs.jpsi) == False
assert has_strange(PDGIDs.Upsilon_1S) == False
assert has_strange(PDGIDs.PiPlus) == False
assert has_strange(PDGIDs.KMinus) == True
assert has_strange(PDGIDs.D0) == False
assert has_strange(PDGIDs.DPlus) == False
assert has_strange(PDGIDs.DsPlus) == True
assert has_strange(PDGIDs.B0) == False
assert has_strange(PDGIDs.Bs) == True
assert has_strange(PDGIDs.BcPlus) == False
assert has_strange(PDGIDs.Proton) == False
assert has_strange(PDGIDs.LcPlus) == False
assert has_strange(PDGIDs.Lb) == False
assert has_strange(PDGIDs.DD1) == False
assert has_strange(PDGIDs.SD0) == True
assert has_strange(PDGIDs.Invalid1) == False
assert has_strange(PDGIDs.Invalid2) == False