A 33-year-old woman is evaluated for a 3-day history of worsening right eye pain and a 1-day history of visual disturbance in the right eye. The pain is aggravated by eye movement. Three years ago, she experienced right arm clumsiness and a mildly unsteady gait but did not seek medical attention; symptoms fully resolved within 1 week. Medical history is otherwise unremarkable, and the patient takes no medication.

On physical examination, temperature is 36.2 °C (97.2 °F), blood pressure is 125/53 mm Hg, pulse rate is 80/min, and respiration rate is 16/min; BMI is 30. Pupillary reactivity is normal when each eye is tested individually; however, when a light is rapidly moved from the left eye to the right, the right pupil dilates by 2 mm. Visual acuity is 20/100 in the right eye and 20/20 in the left. Visual field testing reveals a central scotoma. Slight temporal disc pallor is noted on the right. Other findings from the general medical and neurologic examinations are normal.

Which of the following diagnostic tests is most appropriate to perform next?