Husband and wife in partnership 50:50. They separate and agree husband takes the business. Wife gifts her share to him.
If the gift takes place in year of separation, it is no gain no loss.
Can you elect for the transfer to be at market value to take advantage of ER?