Anyone got a positive pregnancy test

Has anyone ever got a positive pregnancy test when they had sharp pain in right side and then the left the pain each lasted a whole night barely slept. AF in 4 days don’t want to test yet.