예제 #1
0
        public void MakeFace_WithNullOpGetTableFn_ReturnedFaceIsNull()
        {
            Graphite2Api.GetTableFn returnFace = (IntPtr appFaceHandle, uint name, out int len) =>
            {
                len = 0;
                return(IntPtr.Zero);
            };

            IntPtr gr_face = Graphite2Api.MakeFace(IntPtr.Zero, returnFace, 0);

            Assert.AreEqual(IntPtr.Zero, gr_face);
        }