horizontal line test function or not