How would you measure repeatability of an arm that needs to swing exactly 180 degrees (with a sensor mounted on the end?)

How would you measure repeatability of an arm that needs to swing exactly 180 degrees (with a sensor mounted on the end?)