To test whether a magnetic material is a magnet or not, the following procedure can be adopted.
1. Take a metal bar.
2. Bring one pole of a bar magnet to one end of the bar at one time and observe.
3. If it is observed that one end of the metal bar is attracted to one pole and the other end is repelled, it is confirmed that the metal bar is a magnet.
4. If it is observed that both the ends of the bar are attracted, then the metal bar is not a magnet.
5. Therefore, we can conclude that repulsion is a certain test for magnetism