assertEquals(start, selection[0]); assertEquals(length, selection[1]);
ISourceRange expected= TextRangeUtil.getSelection(unit, startLine, startColumn, endLine, endColumn); assertEquals(expected.getOffset(), selection[0]); assertEquals(expected.getLength(), selection[1]);
	protected void selectionTest(int start, int length) throws Exception{		ICompilationUnit unit= createCU(getSelectionPackage(), "A");		String source= unit.getSource();		int[] selection= getSelection(source);		assertEquals(start, selection[0]);		assertEquals(length, selection[1]);	}