12v is bottom left,ground is bottom right.
purple wire goes to top left
purple/white goes to top right (not needed for testing)
you need to power the sensor and the gauge to test it,i made up a loom so i can test both sender and gauge at the same time