graph.addEdge(4, 3);
MaximalWeightedClique maximalWeightedClique = new MaximalWeightedClique();
maximalWeightedClique.setGraph(graph);
TIntArrayList ans = maximalWeightedClique
.findMaximumWeightedClique(new double[] { 1, 1, 1, 1, 1, 1, 1 });
ans.sort();
int[] arr = ans.toArray();
Assert.assertArrayEquals("Found the wrong clique",
new int[] { 0, 3, 4 }, arr);
}