int w = seqCanvas.getWidth();
// limited to number of whole columns, base 0
int expected = w / charWidth - 1;
- assertEquals(testee.findColumn(evt), expected);
+ int col = testee.findColumn(evt);
+ assertEquals(col, expected);
/*
* hide columns 5-10 (base 1)
// x is in 6th visible column, absolute column 12, or 11 base 0
evt = new MouseEvent(testee, Event.MOUSE_MOVE, 0L, 0, x, 0, 0, 0, 0,
false, 0);
- assertEquals(testee.findColumn(evt), 11);
+ col = testee.findColumn(evt);
+ assertEquals(col, 11);
}
@Test(groups = "Functional")