Are you definitely out if you test the day before your period and it’s negative?

Just curious.. don’t want to test as I’m really nervous about being disappointed