Complete axis test for SAT algorithm.