@Test
public void testString() {
final String[] keys = new String[] {"A", "B", "C", "D", "E"};
final double[] values = new double[] {0.1, 0.2, 0.3, 0.4, 0.5};
final StringLabelledMatrix1D m1 = new StringLabelledMatrix1D(keys, values);
final StringLabelledMatrix1D m2 = cycleObject(StringLabelledMatrix1D.class, m1);
assertEquals(m1, m2);
final StringLabelledMatrix1D m3 = new StringLabelledMatrix1D(keys, "labels", values, "values");
final StringLabelledMatrix1D m4 = cycleObject(StringLabelledMatrix1D.class, m3);
assertEquals(m3, m4);
}