The only DIY way is to remove the unit. Turn on the ignition. Make sure it is earthed, then move the float.
If the unit is working correctly, the fuel gauge will register throught it's range.
A quick way to test the fuel gauge is to earth out the wire to the sending unit. When earthed out and the ignition is on, the gauge should read full if it's working correctly.