If you disconnected the Yellow/white wire and then turned on the key the gauge should be on FULL.
If you then ground the Yellow/white wire(the end going to the gauge, not the tank) the gauge will go to EMPTY(key still on)
If gauge doesn't do this then it is a gauge issue.
If gauge does go to full and then to empty it's a sending unit issue.
If you want to test the sending unit you will need an OHM meter, set it to scale 200
Put one meter probe on the Yellow/white wire going to the tank, put other meter probe on a good ground.
Meter should show 16ohms to 160ohms.
16ohms is empty tank, 160ohms is full tank, so if meter shows 40ohms(almost empty) and you then filled up the tank and re-tested it would show 160ohms, 150ohms would be fine, these are guide line readings, not set in stone pass/fail.