def METHOD_NAME(self):
    # move the stage to some position away from the edges of the active
    # range so that clipping is not needed (i.e in the middle of the active range). 
    w = 500e-6
    h = 600e-6
    ovv_rng = {'x': [-1e-3, 1e-3], 'y': [-1.1e-3, 1.1e-3]}
    pos = {"x": sum(ovv_rng["x"]) / 2,
           "y": sum(ovv_rng["y"]) / 2}
    rect_pts = OverviewAcquisitionDialog.clip_tiling_area_to_range(w, h, pos, ovv_rng)
    # Note: the return rect_pts is LBRT assuming y axis upwards, or LTRB assuming y axis downwards.
    # check if the intersection area is the same as the tl and br of the requested area.
    # tl and br are found by the current position +/- half of the width and height
    self.assertAlmostEqual(rect_pts[0], pos["x"] - w / 2)
    self.assertAlmostEqual(rect_pts[1], pos["y"] - h / 2)
    self.assertAlmostEqual(rect_pts[2], pos["x"] + w / 2)
    self.assertAlmostEqual(rect_pts[3], pos["y"] + h / 2)