@Test
public void testCanopyAsFormatStringWithBindings() {
double[] d = { 1.1, 2.2, 3.3 };
Vector m = new DenseVector(d);
Cluster cluster = new Canopy(m, 123, measure);
String[] bindings = { "fee", null, null };
String formatString = cluster.asFormatString(bindings);
assertEquals("C-123{n=0 c=[fee:1.100, 1:2.200, 2:3.300] r=[]}", formatString);
}