Exemplo n.º 1
0
  @Test
  public void testSetLongueur() {

    // The value to test with
    x = 25;

    // Put the value as the longueur of selection
    selection.setLongueur(x);

    // And then test it
    assertEquals("Longueur non égale après appel à getLongueur()", x, selection.getLongueur());
  }
Exemplo n.º 2
0
  @Test
  public void testSetDebut() {

    // The value to test with
    x = 35;

    // Put the value as the debut of selection
    selection.setDebut(x);

    // And then test it
    assertEquals("Début non égale après appel à setDebut()", x, selection.getDebut());
  }