def run_test_length():
    ' Tests the   length   method of the Line class. '
    m1t.run_test_length()
    p1 = Point(166, 10)
    p2 = Point(100, 10)
    line1 = Line(p1, p2)
    print(line1.length())
    p3 = Point(0, 0)
    p4 = Point(3, 4)
    line2 = Line(p3, p4)
    print(line2.length())
    print('The above should print:')
    print('  66.0')
    print('  5.0 (approximately)')
Tests the   length   method of the Line class.
def run_test_length():
    '  '
    m1t.run_test_length()
    p1 = Point(166, 10)
    p2 = Point(100, 10)
    line1 = Line(p1, p2)
    print(line1.length())
    p3 = Point(0, 0)
    p4 = Point(3, 4)
    line2 = Line(p3, p4)
    print(line2.length())
    print('The above should print:')
    print('  66.0')
    print('  5.0 (approximately)')