Пример #1
0
        public void TextMapHelperGetFontWidthType()
        {
            tlog.Debug(tag, $"TextMapHelperGetFontWidthType START");

            FontWidthType fontWidthType;

            fontWidthType = TextMapHelper.GetFontWidthType("ExtraCondensed");
            Assert.AreEqual(FontWidthType.ExtraCondensed, fontWidthType, "Should be equal!");

            fontWidthType = TextMapHelper.GetFontWidthType("InvalidType");
            Assert.AreEqual(FontWidthType.None, fontWidthType, "If invalid type, should be None type!");

            tlog.Debug(tag, $"TextMapHelperGetFontWidthType END (OK)");
        }