@@ -0,0 +1,1403 @@
+/*%0A *                      Nividic development code%0A *%0A * This code may be freely distributed and modified under the%0A * terms of the GNU Lesser General Public Licence.  This should%0A * be distributed with the code.  If you do not have a copy,%0A * see:%0A *%0A *      http://www.gnu.org/copyleft/lesser.html%0A *%0A * Copyright for this code is held jointly by the microarray platform%0A * of the cole Normale Suprieure and the individual authors.%0A * These should be listed in @author doc comments.%0A *%0A * For more information on the Nividic project and its aims,%0A * or to join the Nividic mailing list, visit the home page%0A * at:%0A *%0A *      http://www.transcriptome.ens.fr/nividic%0A *%0A */%0A%0Apackage fr.ens.transcriptome.nividic.om.filters;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class ExpressionMatrixNARowFilterTest extends TestCase %7B%0A%0A  public void testTestRow() %7B%0A    %0A    %0A    ExpressionMatrixNARowFilter filter = new ExpressionMatrixNARowFilter();%0A%0A    double%5B%5D data1 = %7B0.5, 0.6, 2.0, 0.8, 3.0, 1.0%7D;%0A%0A    assertTrue(filter.testRow(data1));%0A    filter.setRate(1.0/3.0);%0A    assertTrue(filter.testRow(data1));%0A%0A    %0A    filter = new ExpressionMatrixNARowFilter();%0A    double%5B%5D data2 = %7B1.5, Double.NaN, 2.0, 0.8, Double.NaN, 1.0%7D;%0A    assertTrue(filter.testRow(data2));%0A    filter.setRate(1.0);%0A    assertTrue(filter.testRow(data2));%0A    filter.setRate(1.0/3.0);%0A    assertFalse(filter.testRow(data2));%0A  %7D%0A%0A%7D%0A

Add new filter test