Пример #1
0
        public void FrefValueLabel_FirstPaduakFeature_ReturnsFalseString()
        {
            using (var feature = new PaduakFeatureVal())
            {
                uint   length;
                ushort lang     = (ushort)Graphite2Api.StrToTag("en");
                IntPtr labelPtr = Graphite2Api.FrefValueLabel(feature.FeatureRef, 0, ref lang, Encform.Utf8, out length);
                Assert.AreEqual("False", Marshal.PtrToStringAnsi(labelPtr));
                Assert.AreEqual(5, length);

                Graphite2Api.LabelDestroy(labelPtr);
            }
        }