Comparison of transfer-to-continuum and eikonal models of projectile fragmentation reactions