horizontal line test for one one function