public void SlotOriginX_TestSegFirstSlot_ReturnsExpectedOffset() { using (var seg = new PaduakDisposableTestSegment("hello world")) { IntPtr firstSlot = Graphite2Api.SegFirstSlot(seg.Seg); Assert.AreEqual(0, Graphite2Api.SlotOriginX(firstSlot)); } }