Take a pregnancy test if period lasted 24 hours?

Last month my period was only 2 days and this month it was 1. I have been working out more but I've always been a minimum of 4 days.