示例#1
0
        public virtual void GetMarginRightTest()
        {
            float expRightMargin = 90;
            Style style          = new Style();

            NUnit.Framework.Assert.IsNull(style.GetMarginRight());
            style.SetMarginRight(expRightMargin);
            NUnit.Framework.Assert.AreEqual(UnitValue.CreatePointValue(expRightMargin), style.GetMarginRight());
        }