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