sweep line cross test