def METHOD_NAME():
    """Test the Sobel horizontal transform"""
    numpy.random.seed(0)
    image = numpy.random.uniform(size=(20, 20)).astype(numpy.float32)
    workspace, module = make_workspace(image)
    module.method.value = cellprofiler.modules.enhanceedges.M_SOBEL
    module.direction.value = cellprofiler.modules.enhanceedges.E_HORIZONTAL
    module.run(workspace)
    output = workspace.image_set.get_image(OUTPUT_IMAGE_NAME)
    assert numpy.all(output.pixel_data == centrosome.filter.hsobel(image))