@Test
public void testMSCanopyAsFormatStringSparseWithBindings() {
double[] d = { 1.1, 0.0, 3.3 };
Vector m = new SequentialAccessSparseVector(3);
m.assign(d);
Cluster cluster = new MeanShiftCanopy(m, 123, measure);
String[] bindings = { "fee", null, "foo" };
String formatString = cluster.asFormatString(bindings);
assertEquals("MSC-123{n=0 c=[fee:1.100, foo:3.300] r=[]}", formatString);
}