@Test
public void testLength() {

  MutableCharArray seq = new MutableCharArray("1234");
  assertEquals(4, seq.length());
  seq = new MutableCharArray("1234".toCharArray(), 1, 2);
  assertEquals(2, seq.length());
}