When cross demands have existed between persons under such circumstances that if one had brought an action against the other a counterclaim could have been set up, neither can be deprived of the benefit thereof by assignment by the other, or by his death. The two demands must be deemed compensated so far as they equal each other.
R.C. §2309.19