void (VisualPosition visualPosition, LogicalPosition logicalPosition, Point xy) { assertLogicalPositionsEqual("Wrong visualPosition->logicalPosition calculation", logicalPosition, getEditor().visualToLogicalPosition(visualPosition)); assertEquals("Wrong visualPosition->xy calculation", xy, getEditor().visualPositionToXY(visualPosition)); }