A magnet will always have two poles no matter what the situation is. So even if you break a magnet be it in two, three, four or any number of pieces, each piece will have two poles i.e., North and South. So, each of the broken pieces will act perfectly as individual magnets.