Пример #1
0
 public void SlotAdvanceX_OnTestSeg_ReturnsExpecedAdvance()
 {
     using (var seg = new PaduakDisposableTestSegment("hello world"))
     {
         IntPtr slot = Graphite2Api.SegFirstSlot(seg.Seg);
         Assert.AreEqual(9.9609375f, Graphite2Api.SlotAdvanceX(slot, seg.Face, seg.Font));
     }
 }