public void CinfoAfter_OnTestCinfo_ReturnsExpectedIndex() { using (var seg = new PaduakDisposableTestSegment("hello world")) { IntPtr firstSlot = Graphite2Api.SegFirstSlot(seg.Seg); IntPtr char_info = Graphite2Api.SegCinfo(seg.Seg, (uint)Graphite2Api.SlotBefore(firstSlot)); Assert.AreEqual(0, Graphite2Api.CinfoAfter(char_info)); } }