Verify that the dilation of a line segment is longer or shorter in the ratio given by the scale factor.