The FSM (Factory Service Manual) has testing procedures for both the gauge and sender. Usually applying direct power to the gauge is not a good idea. They work by applying a regulated voltage across the variable sender resistance and measuring the resulting current that flows.