This is a civilized way to discharge electrolytic capacitors prior to testing, compared with just shorting the leads. The capacitor in the schematic is the one being discharged. I included the power to simulate a charged capacitor. The rig I made up for my workbench has red and green LEDs which illuminate brightly then slowly dim. Also, it depends on connection orientation as to which lights. Added switch to simulate capacitor discharge. Suitability designed for smaller capacitors, say 60v or less.