Index: lutinmatrix/src/test/org/codelutin/math/matrix/BasicMatrixTest.java diff -u lutinmatrix/src/test/org/codelutin/math/matrix/BasicMatrixTest.java:1.3 lutinmatrix/src/test/org/codelutin/math/matrix/BasicMatrixTest.java:1.4 --- lutinmatrix/src/test/org/codelutin/math/matrix/BasicMatrixTest.java:1.3 Mon Nov 8 13:49:55 2004 +++ lutinmatrix/src/test/org/codelutin/math/matrix/BasicMatrixTest.java Wed Oct 5 20:25:05 2005 @@ -23,9 +23,9 @@ * Created: 27 oct. 2004 * * @author Benjamin Poussin - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ * - * Mise a jour: $Date: 2004/11/08 13:49:55 $ + * Mise a jour: $Date: 2005/10/05 20:25:05 $ * par : $Author: bpoussin $ */ @@ -216,7 +216,7 @@ public void testPerfLineaire() throws Exception { MapFunction f = new MapFunction(){ - public double apply(double value){ + public float apply(float value){ return value + 2; } }; Index: lutinmatrix/src/test/org/codelutin/math/matrix/MatrixHelperTest.java diff -u lutinmatrix/src/test/org/codelutin/math/matrix/MatrixHelperTest.java:1.2 lutinmatrix/src/test/org/codelutin/math/matrix/MatrixHelperTest.java:1.3 --- lutinmatrix/src/test/org/codelutin/math/matrix/MatrixHelperTest.java:1.2 Tue Nov 2 16:47:52 2004 +++ lutinmatrix/src/test/org/codelutin/math/matrix/MatrixHelperTest.java Wed Oct 5 20:25:05 2005 @@ -23,9 +23,9 @@ * Created: 29 oct. 2004 * * @author Benjamin Poussin - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * - * Mise a jour: $Date: 2004/11/02 16:47:52 $ + * Mise a jour: $Date: 2005/10/05 20:25:05 $ * par : $Author: bpoussin $ */ @@ -79,7 +79,7 @@ } public void testMaxOccurence() throws Exception { - double [] val = new double[5]; + float [] val = new float[5]; assertEquals(0, MatrixHelper.maxOccurence(val), 0); @@ -94,7 +94,7 @@ val[3] = 3; assertEquals(-1, MatrixHelper.maxOccurence(val), 0); - val = new double[6]; + val = new float[6]; assertEquals(0, MatrixHelper.maxOccurence(val), 0); @@ -112,7 +112,7 @@ assertEquals(-3, MatrixHelper.maxOccurence(val), 0); - val = new double[0]; + val = new float[0]; try{ MatrixHelper.maxOccurence(val); assertFalse(true); // on ne passe pas ici