File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/rtplot/src/test/java/org/csstudio/javafx/rtplot Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ public void testNiceDistance()
122122 assertThat (LinearTicks .selectNiceStep (5.0 *order_of_magnitude ), equalTo (5.0 *order_of_magnitude ));
123123 assertThat (LinearTicks .selectNiceStep (4.0 *order_of_magnitude ), equalTo (5.0 *order_of_magnitude ));
124124 assertThat (LinearTicks .selectNiceStep (3.0 *order_of_magnitude ), equalTo (5.0 *order_of_magnitude ));
125- assertThat (LinearTicks .selectNiceStep (2.01 *order_of_magnitude ), equalTo (2.0 *order_of_magnitude ));
125+ assertThat (LinearTicks .selectNiceStep (1.99 *order_of_magnitude ), equalTo (2.0 *order_of_magnitude ));
126126 assertThat (LinearTicks .selectNiceStep (1.5 *order_of_magnitude ), equalTo (2.0 *order_of_magnitude ));
127127 }
128128 }
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public void testNiceDistance()
4242 assertThat (LinearTicks .selectNiceStep (5.0 *order_of_magnitude ), equalTo (5.0 *order_of_magnitude ));
4343 assertThat (LinearTicks .selectNiceStep (4.0 *order_of_magnitude ), equalTo (5.0 *order_of_magnitude ));
4444 assertThat (LinearTicks .selectNiceStep (3.0 *order_of_magnitude ), equalTo (5.0 *order_of_magnitude ));
45- assertThat (LinearTicks .selectNiceStep (2.01 *order_of_magnitude ), equalTo (2.0 *order_of_magnitude ));
45+ assertThat (LinearTicks .selectNiceStep (1.99 *order_of_magnitude ), equalTo (2.0 *order_of_magnitude ));
4646 assertThat (LinearTicks .selectNiceStep (1.5 *order_of_magnitude ), equalTo (2.0 *order_of_magnitude ));
4747 }
4848 }
You can’t perform that action at this time.
0 commit comments