plot-builder/src/jvmTest/kotlin/org/jetbrains/letsPlot/core/plot/builder/tooltip/loc/LayerTargetLocatorPathNearestXTest.kt [47:56]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun nearestX_WhenInTheMiddle_ShouldSelectSecondPoint() { assertThat( findTargets( rightFrom( p1, MIDDLE_POINTS_DISTANCE ) ) ).first().has(HitIndex.equalTo(p1.hitIndex)) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - plot-builder/src/jvmTest/kotlin/org/jetbrains/letsPlot/core/plot/builder/tooltip/loc/LayerTargetLocatorPathHoverXTest.kt [47:56]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun hoverX_WhenInTheMiddle_ShouldSelectSecondPoint() { assertThat( findTargets( rightFrom( p1, MIDDLE_POINTS_DISTANCE ) ) ).first().has(HitIndex.equalTo(p1.hitIndex)) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -