Ovulation

I was with my bf 2days before ovulation and I took a test 2 weeks after and it was negative…should i have waited?