@Test
public void encodeCoordinates() throws Exception {

    Point2d[] points = new Point2d[]{new Point2d(12.5f, 5.5f), new Point2d(4f, 2f)};
    String str = IdentityTemplateLibrary.encodeCoordinates(points);
    assertThat(str, is("|(12.5,5.5,;4.0,2.0,)|"));
}