public void SlotCanInsertBefore_OnTestSegLastSlot_ReturnsTrue() { using (var seg = new PaduakDisposableTestSegment("hello world")) { IntPtr firstSlot = Graphite2Api.SegLastSlot(seg.Seg); Assert.AreEqual(1, Graphite2Api.SlotCanInsertBefore(firstSlot)); } }