| Update of /cvsroot/fudaa/fudaa_devel/dodico/src/org/fudaa/dodico/test
In directory sc8-pr-cvs1:/tmp/cvs-serv8811/dodico/src/org/fudaa/dodico/test
Modified Files:
	TestCTableau.java TestCPoint.java TestCPolygone.java 
	TestStructure.java TestCProprietePhysique.java 
	TestCMatriceComplexe.java 
Log Message:
ajout des tests pour la lecture et ecriture des fichiers telemac/reflux
Index: TestCTableau.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/dodico/src/org/fudaa/dodico/test/TestCTableau.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestCTableau.java	29 Jan 2003 12:14:21 -0000	1.1
--- TestCTableau.java	18 Mar 2003 14:05:19 -0000	1.2
***************
*** 45,50 ****
    public static void main(String[] args)
    {
-     int i,j;
- 
      ITableau a=ITableauHelper.narrow(new DTableau().tie());
      affiche(a);
--- 45,48 ----
Index: TestCPoint.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/dodico/src/org/fudaa/dodico/test/TestCPoint.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestCPoint.java	29 Jan 2003 12:14:21 -0000	1.1
--- TestCPoint.java	18 Mar 2003 14:05:20 -0000	1.2
***************
*** 30,36 ****
    public static void main(String[] args)
    {
-     int i;
-     int j;
- 
      IPoint a = IPointHelper.narrow(new DPoint().tie());
      a.coordonnees( new double[] {5., 6.,0});
--- 30,33 ----
Index: TestCPolygone.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/dodico/src/org/fudaa/dodico/test/TestCPolygone.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestCPolygone.java	29 Jan 2003 12:14:21 -0000	1.1
--- TestCPolygone.java	18 Mar 2003 14:05:20 -0000	1.2
***************
*** 75,79 ****
      IPoint point3=IPointHelper.narrow(new DPoint().tie());
      point3.coordonnees(new double[]{-2,0,0});
!     IPoint[] points1 = {point1,point2,point3};
  //     p1.frontiere((IPolygoneHelper.narrow(new DPolygone().tie())).points(points1));
      affiche("p1", p1);
--- 75,79 ----
      IPoint point3=IPointHelper.narrow(new DPoint().tie());
      point3.coordonnees(new double[]{-2,0,0});
! //    IPoint[] points1 = {point1,point2,point3};
  //     p1.frontiere((IPolygoneHelper.narrow(new DPolygone().tie())).points(points1));
      affiche("p1", p1);
***************
*** 102,108 ****
  
  
!     IPoint[] points2 = {point1,point2,point3};
      IPolygone p2 = IPolygoneHelper.narrow(new DPolygone().tie());
! //     p2.points(points2);
      affiche("p2", p2);
  
--- 102,108 ----
  
  
!    //IPoint[] points2 = {point1,point2,point3};
      IPolygone p2 = IPolygoneHelper.narrow(new DPolygone().tie());
!      //p2.(points2);
      affiche("p2", p2);
  
***************
*** 110,114 ****
      affiche("p3", p3);
      point1.coordonnees(new double[]{1,3,0});
!     IPoint[] points3 = {point1,point2,point3};
  //     p2.frontiere((IPolygoneHelper.narrow(new DPolygone().tie())).points(points3));
      affiche("p2", p2);
--- 110,114 ----
      affiche("p3", p3);
      point1.coordonnees(new double[]{1,3,0});
! //    IPoint[] points3 = {point1,point2,point3};
  //     p2.frontiere((IPolygoneHelper.narrow(new DPolygone().tie())).points(points3));
      affiche("p2", p2);
Index: TestStructure.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/dodico/src/org/fudaa/dodico/test/TestStructure.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestStructure.java	21 Feb 2003 16:24:13 -0000	1.1
--- TestStructure.java	18 Mar 2003 14:05:20 -0000	1.2
***************
*** 47,54 ****
     public static void main(String [] args)
    {
!     TestStructure t=new TestStructure(10000);
!     while(true)
!     {
!     }
    }
  }
--- 47,51 ----
     public static void main(String [] args)
    {
!     new TestStructure(10000);
    }
  }
Index: TestCProprietePhysique.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/dodico/src/org/fudaa/dodico/test/TestCProprietePhysique.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestCProprietePhysique.java	29 Jan 2003 12:14:21 -0000	1.1
--- TestCProprietePhysique.java	18 Mar 2003 14:05:20 -0000	1.2
***************
*** 53,59 ****
    public static void main(String[] args)
    {
-     int i;
-     int j;
- 
      IEvolutionConstante evol = IEvolutionConstanteHelper.narrow(new DEvolutionConstante().tie());
      ITableau itab = ITableauHelper.narrow(new DTableau().tie());
--- 53,56 ----
Index: TestCMatriceComplexe.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/dodico/src/org/fudaa/dodico/test/TestCMatriceComplexe.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestCMatriceComplexe.java	29 Jan 2003 12:14:21 -0000	1.1
--- TestCMatriceComplexe.java	18 Mar 2003 14:05:21 -0000	1.2
***************
*** 52,56 ****
          str+="  "+CMathComplexe.enChaine(_tab[i][j]);
        System.out.println("ligne "+i+":"+str);
!       str=new String("");
      }
      System.out.println("");
--- 52,56 ----
          str+="  "+CMathComplexe.enChaine(_tab[i][j]);
        System.out.println("ligne "+i+":"+str);
!       str="";
      }
      System.out.println("");
 |