You are in a room with nothing else but two undistinguishable metal rods. You know that one of them is a magnet, how can you figure out which one?
Touch the middle of the first rod with the end of the second rod. If the two rods get attracted to each other, then the second one is the magnet. If not, then the first one is the magnet.