public void testClusterAsFormatStringWithBindings() {
double[] d = { 1.1, 2.2, 3.3 };
Vector m = new DenseVector(d);
Printable cluster = new Cluster(m, 123);
String[] bindings = { "fee", null, "foo" };
String formatString = cluster.asFormatString(bindings);
System.out.println(formatString);
assertEquals("format", "C123: [fee:1.100, 1:2.200, foo:3.300]", formatString);
}
public void testClusterAsFormatStringSparseWithBindings() {