def METHOD_NAME(self):
    # From coordinate tuples
    line = LineString([(1.0, 2.0), (3.0, 4.0)])
    assert len(line.coords) == 2
    assert line.coords[:] == [(1.0, 2.0), (3.0, 4.0)]
    # Bounds
    assert line.bounds == (1.0, 2.0, 3.0, 4.0)
    # Coordinate access
    assert tuple(line.coords) == ((1.0, 2.0), (3.0, 4.0))
    assert line.coords[0] == (1.0, 2.0)
    assert line.coords[1] == (3.0, 4.0)
    with pytest.raises(IndexError):
        line.coords[2]  # index out of range
    # Geo interface
    assert line.__geo_interface__ == {
        "type": "LineString",
        "coordinates": ((1.0, 2.0), (3.0, 4.0)),
    }