DotExportStyles { public static double getRankSep(int noNodes) { return Math.sqrt(noNodes) * VERTICAL_SPACE_FACTOR; } private  DotExportStyles(); static String getNodeStyle(Node node); static String getNodeUrl(String node); static String getEdgeStyle(Dependency rel); static double getRankSep(int noNodes);  }
@Test public void testGetRankSep() { assertThat(DotExportStyles.getRankSep(16), greaterThan(1.1)); assertThat(DotExportStyles.getRankSep(16), lessThan(1.3)); assertThat(DotExportStyles.getRankSep(250), greaterThan(4.7)); assertThat(DotExportStyles.getRankSep(250), lessThan(4.8)); }