Replace deprecated method.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141061 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c0f2bcdaf7
commit
cc63455b3e
|
@ -64,7 +64,7 @@ import org.apache.commons.math.stat.StorelessDescriptiveStatisticsImpl;
|
||||||
/**
|
/**
|
||||||
* Test cases for the ValueServer class.
|
* Test cases for the ValueServer class.
|
||||||
*
|
*
|
||||||
* @version $Revision: 1.10 $ $Date: 2004/01/15 05:22:08 $
|
* @version $Revision: 1.11 $ $Date: 2004/01/15 07:31:44 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public final class ValueServerTest extends TestCase {
|
public final class ValueServerTest extends TestCase {
|
||||||
|
@ -148,7 +148,7 @@ public final class ValueServerTest extends TestCase {
|
||||||
double tolerance = 10E-15;
|
double tolerance = 10E-15;
|
||||||
double compareValue = 0.0d;
|
double compareValue = 0.0d;
|
||||||
vs.setMode(ValueServer.REPLAY_MODE);
|
vs.setMode(ValueServer.REPLAY_MODE);
|
||||||
vs.openReplayFile();
|
vs.resetReplayFile();
|
||||||
compareValue = vs.getNext();
|
compareValue = vs.getNext();
|
||||||
assertEquals(compareValue,firstDataValue,tolerance);
|
assertEquals(compareValue,firstDataValue,tolerance);
|
||||||
compareValue = vs.getNext();
|
compareValue = vs.getNext();
|
||||||
|
|
Loading…
Reference in New Issue