Quoting a government source , Yonhap said the testing was part of a military training exercise involving ship-to-ship missiles with a range of 46 kilometers .