@Test
public void testGeodesicAreaForSimplePolygon() throws
                                               Exception {

    // when computing the geodesic area of a given Polygon
    final double area = getGeodesicArea(createPolygon(gf,
                                                      createCoordinate(gf,
                                                                       47.226116d,
                                                                       -1.554169d),
                                                      createCoordinate(gf,
                                                                       47.226126d,
                                                                       -1.554097d),
                                                      createCoordinate(gf,
                                                                       47.225527d,
                                                                       -1.553986d),
                                                      createCoordinate(gf,
                                                                       47.225519d,
                                                                       -1.554061d),
                                                      createCoordinate(gf,
                                                                       47.226116d,
                                                                       -1.554169d)),
                                        false);
    // then the computed area should be roughly equals to 378m
    assertEquals(378d,
                 area,
                 1d);
}