package de.mpi.rgblab.tests.junit;
import java.util.Vector;
import junit.framework.TestCase;
import de.mpi.rgblab.color.ColorModel;
import de.mpi.rgblab.data.ColorReader;
import de.mpi.rgblab.data.Data;
import de.mpi.rgblab.data.Data0;
public class ComputeSaliencyTest extends TestCase {
Data d;
Data0 d0;
public void testComputeSaliency() {
// for (int i = 0; i < d.getSaliency().size(); i ++)
//
// assertTrue((d.getSaliency().get(i) == d0.getSaliency().get(i)));
}
protected void setUp() {
d = new Data();
d0 = new Data0();
d.importData("usa_houshold_and_income_screen_coordinates.dat");
d0.importData("usa_houshold_and_income_screen_coordinates.dat");
Vector<ColorModel> rgbColors = ColorReader
.getColorsAsColorModel("colors.dat");
d.computeSaliencyTest(20, rgbColors);
d0.computeSaliencyTest(20, rgbColors, 1);
}
protected void tearDown() {
}
}