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