diff --git a/src/test/java/org/apache/commons/math3/linear/RealVectorTest.java b/src/test/java/org/apache/commons/math3/linear/RealVectorTest.java index a8a0412aa..5610a4f36 100644 --- a/src/test/java/org/apache/commons/math3/linear/RealVectorTest.java +++ b/src/test/java/org/apache/commons/math3/linear/RealVectorTest.java @@ -219,19 +219,6 @@ public class RealVectorTest extends RealVectorAbstractTest{ } } - @Test - public void testClone() throws Exception { - double[] d = new double[1000000]; - Random r = new Random(1234); - for(int i=0;i 0); - double[] c = d.clone(); - c[0] = 1; - Assert.assertNotSame(c[0], d[0]); - d[0] = 1; - Assert.assertEquals(new ArrayRealVector(d).getNorm(), new ArrayRealVector(c).getNorm(), 0); - } - @Test(expected=DimensionMismatchException.class) public void testCombineToSelfPrecondition() { final double a = 1d;