Accurate??

If i had sex 25 days ago (with a condom & on birth control) & took a digital pregnancy test yesterday & it was negative is that safe to say it was an accurate read? I had a slight period (mainly spotting bc of my birth control) a week after having sex but since it was only spotting I thought I’d ask.