Chemical miscarriage

Has anyone ever had a chemical miscarriage and known you had one?

I missed a period and I took a test that came back negative. About 5 weeks later I had awful cramps, like worse than ive ever had and then I had a very heavy, painful, abnormal period. So I’m not sure if I was pregnant and miscarried or if I just had an abnormal period?