MATH-795: in RealVectorAbstractTest, removed unused method assertClose.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1358353 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastien Brisard 2012-07-06 19:05:58 +00:00
parent 8c10a80525
commit 3621d9d559
1 changed files with 0 additions and 11 deletions

View File

@ -167,17 +167,6 @@ public abstract class RealVectorAbstractTest {
return 0.0;
}
/** verifies that two vectors are close (sup norm) */
protected void assertClose(String msg, double[] m, double[] n,
double tolerance) {
if (m.length != n.length) {
Assert.fail("vectors have different lengths");
}
for (int i = 0; i < m.length; i++) {
Assert.assertEquals(msg + " " + i + " elements differ", m[i],n[i],tolerance);
}
}
public RealVectorAbstractTest() {
/*
* Make sure that x, y, z are three different values. Also, x is the