}
public void testMSCanopyAsFormatStringSparseWithBindings() {
double[] d = { 1.1, 0.0, 3.3 };
Vector m = new SequentialAccessSparseVector(3);
m.assign(d);
Printable cluster = new MeanShiftCanopy(m, 123);
String[] bindings = { "fee", null, "foo" };
String formatString = cluster.asFormatString(bindings);
System.out.println(formatString);
assertEquals("format", "C123: [fee:1.100, foo:3.300]", formatString);