Skip to content

Commit

Permalink
Fix rounding error in testAlignMiddle failure
Browse files Browse the repository at this point in the history
Signed-off-by: Amadeus1791 <sezuan01@gmail.com>
  • Loading branch information
Sezuan01 committed Jan 12, 2025
1 parent ef6102d commit a7ac276
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public void testAlignMiddle() {

assertNotEquals(first.getBounds().getCenter().y, second.getBounds().getCenter().y);
bot.toolbarButtonWithTooltip("Align Middle").click();
assertEquals(first.getBounds().getCenter().y, second.getBounds().getCenter().y);
assertEquals(first.getBounds().getCenter().y, second.getBounds().getCenter().y, 1.0);
}

/**
Expand Down

0 comments on commit a7ac276

Please sign in to comment.