Alan Ratcliffe wrote
Use a compass. Put it close to one pole if the needle swings to the pole, it's north, if it swings away from it, it's south.
Alan - Sorry to have to tell you but you've got it wrong mate - it's just the other way around! A compass is indeed the right instrument to check the magnet's polarity, but the fact is that a compass's needle (which always points to the earth's north pole) will be attracted to the SOUTH pole of a magnet, not the north. ?
This is because the earth's north pole (as man refers to it) is actually a SOUTH magnetic pole. This is a common mistake people make since we tend to look at the earth in a one-dimensional way, from top to bottom, and then we assume that the top is magnetic north - which it isn't! - its SOUTH! ?