assertEquals("format", "C123: [0:1.100, 2:3.300]", formatString);
}
public void testMSCanopyAsFormatStringWithBindings() {
double[] d = { 1.1, 2.2, 3.3 };
Vector m = new DenseVector(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, 1:2.200, foo:3.300]", formatString);