Would a digital pregnancy test be accurate two months after unprotected sex?

Just wondering. Got two negative a few days apart on a digital and want to make sure it's accurate.