source: class CharrayTest {
  
  	final Charray a;
  
  	@Test
  	void testToString() {
  
target: 		String result = a.toString();
  		assertEquals("a", result);
  		assertEquals(1, result.length());
  
  		assertEquals("abcdefg", new Charray("abcdefg").toString());
  		assertEquals("abcd", new Charray('a', 'b', 'c', 'd').toString());
  		assertEquals("", new Charray().toString());
  		assertEquals("", new Charray(new char[10], 0, 0).toString());
  	}
  
  }