Have you?

Has anyone caught a fever before getting a positive pregnancy test? A little back story, I woke up getting ready for work then all of a sudden I started having cramps. They were tolerable at first but about 3 minutes later, they became unbearable and I started to get hot and sweaty. Has this happened to anyone and then they found out that they were pregnant? Thanks in advance!