@Test
public void testFiltreNoeudsSimples() {

  carte.filtreNoeudsSimples();
  for (Arc a : carte.getPopArcs()) {
    // node between nodes 1 and 7
    if (a.getNoeudIni() == n7) {
      Assert.assertEquals(n1, a.getNoeudFin());
      Assert.assertEquals(-1, a.getOrientation());
    }
    if (a.getNoeudFin() == n7) {
      Assert.assertEquals(n1, a.getNoeudIni());
      Assert.assertEquals(1, a.getOrientation());
    }
    // node between nodes 1 and 5
    if (a.getNoeudIni() == n5) {
      Assert.assertEquals(n1, a.getNoeudFin());
      Assert.assertEquals(-1, a.getOrientation());
    }
    if (a.getNoeudFin() == n5) {
      Assert.assertEquals(n1, a.getNoeudIni());
      Assert.assertEquals(1, a.getOrientation());
    }
    // node between nodes 1 and 3
    if (a.getNoeudIni() == n3) {
      Assert.assertEquals(n1, a.getNoeudFin());
      Assert.assertEquals(1, a.getOrientation());
    }
    if (a.getNoeudFin() == n3) {
      Assert.assertEquals(n1, a.getNoeudIni());
      Assert.assertEquals(-1, a.getOrientation());
    }
  }
  for (Noeud n : carte.getPopNoeuds()) {
  	logger.debug(n);
    for (Arc a : n.getEntrants()) {
      logger.debug("entrant " + a);
    }
    for (Arc a : n.getSortants()) {
      logger.debug("sortant " + a);
    }
  }
  for (Arc a : carte.getPopArcs()) {
    logger.debug(a);
  }
}