I think I had a miscarriage

Di

I haven’t started bleeding yet but I read online that you can still get a positive pregnancy test if you miscarriage well before today I took a bunch of pregnancy test and all the lines were very faint no this one is very dark does that mean I had a miscarriage and it’s just reading wrong or what because I haven’t started bleeding yet but I’ve been having a lot of pain and cramping like I’m on my period but I haven’t bled yet