def METHOD_NAME(self, top, filename):
    expected = np.array([
        a.GetDoubleProp('_TriposPartialCharge') for a in filename.GetAtoms()
        ], dtype=np.float32)
    assert_equal(expected, top.charges.values)