Finally the swinging light test to check for a relative afferent pupil defect or RAPD. This is a comparative test of the two optic nerves, and may detect conditions such as optic neuritis or optic nerve compression where the nerve is functioning, but poorly when compared to the other side.