On Tue, 8 Nov 2022 17:36:18 GMT, Marius Hanl <mh...@openjdk.org> wrote:

>> modules/javafx.graphics/src/test/java/test/javafx/scene/layout/AnchorPaneTest.java
>>  line 765:
>> 
>>> 763:         double snappedPaddingY = child.snapPositionY(padding);
>>> 764: 
>>> 765:         assertEquals(snappedPaddingX, boundsInParent.getMinX(), 
>>> 0.0001);
>> 
>> EPSILON constant perhaps?
>
> Not sure if this is worth it for just 2 occurrences. In general I always try 
> not to clutter the test class with things used in only one or two test 
> methods.

I see 6 occurrences only in this method ;-)

-------------

PR: https://git.openjdk.org/jfx/pull/910

Reply via email to