Answer:
Step-by-step explanation:
I don't think this is a fragment. It might be a comma splice without the comma: in other words, it is two simple sentences. It can be corrected in two ways
I failed the test. I didn't study.
That's one way.
The other way, I think is correct, but it is not as good as making 2 sentences.
I failed the test; I didn't study.