@Test
void testSubSequence() {

	Charray result = a.subSequence(0, 1);
	assertEquals(a, result);
	Charray cha = new Charray("abcdefg");
	Charray sub = cha.subSequence(2, 4);
	assertEquals("cd", sub.toString());
	assertEquals('c', sub.get(0));
	assertEquals('d', sub.get(1));
	sub.set(0, '!');
	assertEquals('!', sub.get(0));
	assertEquals('c', cha.get(2));
	cha.set(3, '?');
	assertEquals('?', cha.get(3));
	assertEquals('c', sub.get(1));
}