1. A method of performing a self-test associated with a magnetic field sensor, comprising: generating a magnetic-field-responsive signal responsive to a proximity of a sensed object; generating a threshold signal proportional to peak values of the magnetic-field-responsive signal; identifying a plurality of peak values of the magnetic-field-responsive signal; identifying a plurality of threshold values of the threshold signal; generating one or more difference values by differencing the identified peak values and associated identified threshold values; categorizing the one or more difference values into a plurality of potential categories, wherein the plurality of potential categories is representative of a plurality of self-test states of the proximity signal; and communicating at least one of the plurality of potential categories into which at least one of the one or more characteristic values was categorized.