That is a good idea.

Attach the gauge hot wire to the gauge contact.
Attach a ground wire to an attachment post.

Move the float up and down and see what the gauge displays as you move through the range-of-motion of the float.

Disconnect the ground wire and the gauge should spike to full.

Be careful - good luck with the test.