<human>: Can you summarize the given text in a few sentences?

As the title says, but the situation itself was truly out of the norm.  Here's some background as to what happened.

I'm currently a student in high school, and the class in question is an AP class.  I do realize that cheating on various tests and assignments is rampant throughout high school, and there's no point to expect anything more.  Today, I was in class after school with a couple (4 - 8) other students, all taking a test.  The teacher leaves the class for the whole time, due to some other academic matters.  Once he leaves, a number of the other students in the class start talking about the test, giving each other help and answers.

After everyone else had turned in their tests, I found the teacher and told him about the individuals who were cheating.  The test itself isn't curved, so I didn't have any incentive to do so.  However, I personally don't cheat, and couldn't do anything but become absolutely pissed after hearing them talk about the answers to a problem that I had studied my ass of for the past few days.  There had already been an incident of cheating in our class earlier this year that I never witnessed but was reported by another individual to the teacher.

I have no idea if I did the right thing.  I'm going to be able to remain anonymous to everyone but the teacher in regards to the cheating incident.  However, I have no idea

I'm not looking for justification for my actions, but rather insight as to whether I did the right thing (in your opinion) and any consequences to all parties involved (including myself) that I may not have thought of.  Again, there wasn't any curve on the test, so the cheating wasn't harming me in any way.  I don't see a problem with the moral basis of my actions, but am wondering if there are any practical issues that I should be worried with.  There will most likely be no action taken by administration, for I had no proof.
<bot>: I saw people cheating on a test while the teacher wasn't gone.  It pissed me off, so I reported them.  What consequences to any party should I be aware of?