Hello dear geotools developers,

I am currently working on a bugfix in jai-ext/scale that should fix 
https://github.com/geosolutions-it/jai-ext/issues/309. 

While working on the PR (refer to 
https://github.com/geosolutions-it/jai-ext/pull/310) I wanted to check other 
jai-ext operators to see if they would suffer from a similar issue. It turns 
out jai-ext/scale2 should have the very same problem (probably because many 
parts were once copied from jai-ext/scale). 

Now I was about to address the issue, but noticed that on the main branch even, 
one test-case is failing: 

https://github.com/geosolutions-it/jai-ext/blob/e58fed601bf85f0661153a942e7a0aaba933744e/jt-scale2/src/test/java/it/geosolutions/jaiext/scale/BilinearScaleTest.java#L239
 :

Tests run: 15, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.167 sec <<< 
FAILURE! - in it.geosolutions.jaiext.scale.BilinearScaleTest
testRecyclingROIWeights(it.geosolutions.jaiext.scale.BilinearScaleTest)  Time 
elapsed: 0.015 sec  <<< FAILURE!
java.lang.AssertionError: Unexpected value at 3 5 expected:<5> but was:<0>
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
        at org.junit.Assert.assertEquals(Assert.java:647)
        at 
it.geosolutions.jaiext.scale.BilinearScaleTest.testRecyclingROIWeights(BilinearScaleTest.java:287)

Has anyone else noticed this? Shouldn't it break some build? 

Thanks
Sören

--
Sören Kalesse 
Referat Verfahrensentwicklung für Meteorologische Arbeitsplätze | Abteilung 
Zentrale Meteorologische Fachverfahren
Deutscher Wetterdienst | Michendorfer Chaussee 23 | 14473 Potsdam
phone: +49 69 8062 5256 | @: soeren.kale...@dwd.de | web: www.dwd.de



_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to