How to tell if a function passes the horizontal line test: Draw the graph of the function. Next, draw a horizontal line through the graph. If the line intersects the graph in more than one point, then the function fails the horizontal line test, which, in turn, means that the function does not have an inverse.