A magnet can only repel another magnet. So, ‘X’ is a surer test of magnetism. Identify X.
Repulsion is correct per A magnet can only repel another magnet. principle; validated by standard physics law.
Ref: NCERT Physics Class 12 Chapter 4 Moving Charges and Magnetism