When there is an exact integer number of cycles of a periodic signal in the FFT aperture, there is no spectral leakage.
I said this beforeI said this before but the DFT maps a periodic sequence of length $N$ to another periodic sequence of length $N$ and the iDFT maps it back. That is fundamentally what the Discrete Fourier Transform does.