assertTrue(coords2 != CompactLineString.STRAIGHT_LINE);
assertEquals(coords.length, coords2.length);
for (int i = 0; i < coords.length; i++)
assertEquals(coords[i], coords2[i]);
ls2 = CompactLineString.uncompactLineString(x1, y1, x0, y0, coords2, true);
assertTrue(lsi.equalsExact(ls2, 0.00000015));
LineString ls3 = CompactLineString.uncompactLineString(x1, y1, x0, y0, coords, true);
assertTrue(lsi.equalsExact(ls3, 0.00000015));
byte[] packedCoords2 = CompactLineString.compackLineString(x1, y1, x0, y0, ls, true);
assertTrue(packedCoords2 != CompactLineString.STRAIGHT_LINE_PACKED);
assertEquals(packedCoords.length, packedCoords2.length);