|
From: Márcio V. d. S. <mv...@us...> - 2007-05-19 13:23:24
|
Update of /cvsroot/tail/Tail/src/test/net/sf/tail/strategy In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv29470/src/test/net/sf/tail/strategy Modified Files: IndicatorOverIndicatorStrategyTest.java Log Message: criado sample indicator Index: IndicatorOverIndicatorStrategyTest.java =================================================================== RCS file: /cvsroot/tail/Tail/src/test/net/sf/tail/strategy/IndicatorOverIndicatorStrategyTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IndicatorOverIndicatorStrategyTest.java 19 May 2007 12:37:57 -0000 1.1 --- IndicatorOverIndicatorStrategyTest.java 19 May 2007 13:23:22 -0000 1.2 *************** *** 6,9 **** --- 6,10 ---- import net.sf.tail.OperationType; import net.sf.tail.Strategy; + import net.sf.tail.sample.SampleIndicator; import org.junit.After; *************** *** 19,35 **** @Before public void setUp() throws Exception { ! first = new Indicator<Double>() { ! double values[] = {4,7,9,6,3,2}; ! public Double getValue(int index) { ! return values[index]; ! } ! }; ! // mudar para SAmpleIndicator (no pacote de testes mesmo) ! second = new Indicator<Double>() { ! double values[] = {3,6,10,8,2,1}; ! public Double getValue(int index) { ! return values[index]; ! } ! }; } --- 20,27 ---- @Before public void setUp() throws Exception { ! ! first = new SampleIndicator(new double[] {4,7,9,6,3,2}); ! second = new SampleIndicator(new double[] {3,6,10,8,2,1}); ! } |