I have them in different tanks but the tanks are next to each other, is that enough?

and I have a 50 gallon tank, is that enough room to eventually keep both in the same tank?