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_Mbc():
import ROOT
df = get_test_df()
assert isinstance(df, pd.DataFrame)
pdf = Mbc(('mbc', 0, 1))
pdf.observables.mbc # test that mbc is available by attribute lookup
assert isinstance(pdf.roo_pdf, ROOT.RooAddPdf)