### Question:
EncodedPolylineFunctions { @Description("Decodes a polyline to a linestring") @ScalarFunction("from_encoded_polyline") @SqlType(GEOMETRY_TYPE_NAME) public static Slice fromEncodedPolyline(@SqlType(StandardTypes.VARCHAR) Slice input) { return serialize(decodePolyline(input.toStringUtf8())); } private  EncodedPolylineFunctions(); @Description("Decodes a polyline to a linestring") @ScalarFunction("from_encoded_polyline") @SqlType(GEOMETRY_TYPE_NAME) static Slice fromEncodedPolyline(@SqlType(StandardTypes.VARCHAR) Slice input); @Description("Encodes a linestring or multipoint geometry to a polyline") @ScalarFunction("to_encoded_polyline") @SqlType(StandardTypes.VARCHAR) static Slice toEncodedPolyline(@SqlType(GEOMETRY_TYPE_NAME) Slice input);  }### Answer:
@Test public void testFromEncodedPolyline() { assertFromEncodedPolyline("", "LINESTRING EMPTY"); assertFromEncodedPolyline("iiqeFjs_jV", "LINESTRING EMPTY"); assertFromEncodedPolyline("_p~iF~ps|U_ulLnnqC_mqNvxq`@", "LINESTRING (-120.2 38.5, -120.95 40.7, -126.45300000000002 43.252)"); }