void runCorridas(Integer testIdx, Integer iterations, Ejercicio3 ej) {
    for (int i = 0; i < iterations; i++) {
      ej.run(testIdx);

      ej.run(testIdx);
    }
  }
  @Test
  public void testVerificacion() throws IOException {
    Ejercicio3 ej = new Ejercicio3("Tp2Ej3Verificacion");

    System.out.println("Verificacion");
    int M = 30;
    for (Integer i = 0; i < 50; i++) {
      int res = ej.run(i);
      assertEquals(M / 3 - 1, res);
      M += 30;
    }
    for (Integer i = 50; i < 100; i++) {
      int res = ej.run(i);
      assertEquals(0, res);
    }
  }
 @Test
 public void testEjercicioDeCatedra() throws IOException {
   Ejercicio3 ej = new Ejercicio3("Tp2Ej3");
   System.out.println(ej.run(0));
   System.out.println(ej.run(1));
 }