I got whooping cough at about 17 weeks. It was one of the most horrible things ever. I was assured that as long as my baby is inside me she will be ok. If however i had her while i had it thats a different story.
I would get tested asap if i were you, coz there is medication you can take.
i hope you havent got it tho, its terrible.