Esempio n. 1
0
 public void SlotIndex_OnTestSlot_ReturnsExpectedIndex()
 {
     using (var seg = new PaduakDisposableTestSegment("hello world"))
     {
         IntPtr firstSlot = Graphite2Api.SegFirstSlot(seg.Seg);
         Assert.AreEqual(0, (uint)Graphite2Api.SlotIndex(firstSlot));
     }
 }