@Test
public void testDecode() throws Exception
{

    PointList list = WebHelper.decodePolyline("_p~iF~ps|U", 1, false);
    assertEquals(Helper.createPointList(38.5, -120.2), list);
    list = WebHelper.decodePolyline("_p~iF~ps|U_ulLnnqC_mqNvxq`@", 3, false);
    assertEquals(Helper.createPointList(38.5, -120.2, 40.7, -120.95, 43.252, -126.453), list);
}