Quick self-diagnosis of whooping cough
Can you answer "yes" to all 3 questions. If so, there is a high probability you have whooping cough. This is clearly a rough and ready test. The only way you will get a definite diagnosis is from a doctor who can talk to you and examine you and do relevant tests. This would normally include a blood test for antibodies to pertussis toxin.
If in addition, you know other people who have or have had an identical cough, and you have been in contact with them, or you have been in contact with known whooping cough cases, then the probability that you have it is even stronger.