closest pair visual tester