113
113
// Check they are selected
114
114
assertSelectionContains(frame.home, wall1, wall2, wall3);
116
// 3. Click at (30, 170), then double click at (50, 50) with Shift key depressed
116
// 3. Click at (30, 170), then double click at (50, 50) without magnetism
117
117
tester.actionClick(planComponent, 30, 170);
119
119
tester.actionClick(planComponent, 50, 50, InputEvent.BUTTON1_MASK, 2);
121
121
// Check a forth wall was created at (20, 300), (60, 60) coordinates
122
122
Wall wall4 = orderedWalls.get(orderedWalls.size() - 1);
123
123
assertCoordinatesEqualWallPoints(20, 300, 60, 60, wall4);