Capacitor quality inspector