Revision 27361 trunk/libraries/libRaster/src-test/org/gvsig/raster/buffer/TestBufferInterpolation.java
TestBufferInterpolation.java | ||
---|---|---|
123 | 123 |
} |
124 | 124 |
|
125 | 125 |
public void testStack(){ |
126 |
compareResult(fileNeighbour, fileNeighbour1); |
|
127 |
compareResult(fileBilinear, fileBilinear1); |
|
128 |
compareResult(fileInverseDistance, fileInverseDistance1); |
|
129 |
compareResult(fileBSpline, fileBSpline1); |
|
126 |
try { |
|
127 |
compareResult(fileNeighbour, fileNeighbour1); |
|
128 |
compareResult(fileBilinear, fileBilinear1); |
|
129 |
compareResult(fileInverseDistance, fileInverseDistance1); |
|
130 |
compareResult(fileBSpline, fileBSpline1); |
|
131 |
} catch (InterruptedException e) { |
|
132 |
} |
|
130 | 133 |
//compareResult(fileBicubicSpline, fileBicubicSpline1); |
131 | 134 |
File file1 = new File(fileNeighbour); |
132 | 135 |
File file2 = new File(fileBilinear); |
... | ... | |
149 | 152 |
* Compara dos ficheros raster |
150 | 153 |
* @param f1 |
151 | 154 |
* @param f2 |
155 |
* @throws InterruptedException |
|
152 | 156 |
*/ |
153 |
private void compareResult(String f1, String f2) { |
|
157 |
private void compareResult(String f1, String f2) throws InterruptedException {
|
|
154 | 158 |
int[] drawableBands = {0, 1, 2}; |
155 | 159 |
RasterDataset d1 = null; |
156 | 160 |
RasterDataset d2 = null; |
Also available in: Unified diff