public void testCharSequenceMethods() { HarfDizisi dizi = new HarfDizisi("armut", alfabe); Assert.AreEqual(dizi.Length, 5); Assert.IsNull(dizi.subSequence(3, 1)); Assert.AreEqual(new HarfDizisi("arm", alfabe), dizi.subSequence(0, 3)); Assert.AreEqual(new HarfDizisi("rm", alfabe), dizi.subSequence(1, 3)); Assert.AreEqual(new HarfDizisi("", alfabe), dizi.subSequence(3, 3)); Assert.AreEqual(dizi.CharAt(0), 'a'); Assert.AreEqual(dizi.CharAt(4), 't'); }