function assertSliderField(
  sliderField,
  expectedMin,
  expectedMax,
  expectedPrecision,
  expectedValue,
) {
  assertFieldValue(sliderField, expectedValue);
  assert.equal(sliderField.getMin(), expectedMin, 'Min');
  assert.equal(sliderField.getMax(), expectedMax, 'Max');
  assert.equal(sliderField.getPrecision(), expectedPrecision, 'Precision');
}
Assert the slider field options.
@param {FieldSlider} sliderField The slider field.
@param {number} expectedMin The expected min value.
@param {number} expectedMax  The expected max value.
@param {number} expectedPrecision The expected precision value.
@param {number} expectedValue The expected value.