to use different sample formulas?

I have samples of different brand formulas, like enfamil and similac; and different types like the pro-advance, total comfort, etc. Would it be safe to use those samples and go through them before I settle on one? Or would that be an issue for baby??