Can pregnancy test detect if I’m pregnant 2 weeks after sexual contact?

I had an unprotected sexual contact during my ovulation day but I’m not sure if my boyfriend released inside me. Exactly 2 weeks later I took pregnancy test and it was negative result. But my period is two days delayed now.