def METHOD_NAME(expected, cgmpdict, label):
    rc, rfc, rm, rfm = expected
    qcdb.compare_integers(rc, cgmpdict['molecular_charge'], label + ': c')
    qcdb.compare_integers(rm, cgmpdict['molecular_multiplicity'], label + ': m')
    qcdb.compare_integers(True, np.allclose(cgmpdict['fragment_charges'], rfc), label + ': fc')
    qcdb.compare_integers(True, np.allclose(cgmpdict['fragment_multiplicities'], rfm), label + ': fm')