Well since you said that the teacher knows they're doing it in class, what would the point in telling be? My friends have done shit like that but who am I to try and stop them? I mean like stated before, It's their life let them live it how they want. Plus if you ratted them out I highly doubt you would remain friends with them.