### Question:
WorkbenchUtils { public static int calculateColumnsPerRow(int modulesPerPage) { return modulesPerPage <= 3 ? modulesPerPage : (int) Math.ceil(Math.sqrt(modulesPerPage)); } private  WorkbenchUtils(); static void assertNodeNotSame(Node node1, Node node2); static void addListListener(ObservableList<T> list,
      Consumer<T> addAction,
      Consumer<T> removeAction); static String convertToId(String name); static int calculateColumnsPerRow(int modulesPerPage);  }### Answer:
@Test void calculateColumnsPerRow() { int[] modulesPerPage = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; int[] columnsPerRow = {0, 1, 2, 3, 2, 3, 3, 3, 3, 3, 4, 4, 4}; for (int i = 0; i < modulesPerPage.length; i++) { assertEquals(columnsPerRow[i], WorkbenchUtils.calculateColumnsPerRow(modulesPerPage[i])); } }