25 Jul
2011
25 Jul
'11
12:29 a.m.
On Jul 24, 2011, at 4:33 PM, Krzysztof Kosiński wrote:
This is caused by Johan's NRRectL -> Geom::IntRect rewrites, because IntRect contained a serious bug which I have recently discovered in my GSoC branch. Basically, an IntRect would not be contained in itself, and as a result neither the intersect() or contains() functions would work correctly. I committed an update of 2Geom that should fix this.
Cool!
Did you get unit tests set up on this? Aside from preventing regression, they do serve nicely as documentation for people looking at both the implementing and the using code.