コード例 #1
0
ファイル: StyleUnitTest.cs プロジェクト: jamCats/DCISM_Payrol
        public virtual void SetAndGetWidthUnitValueTest()
        {
            float expectedWidth = 50;
            Style style         = new Style();

            NUnit.Framework.Assert.IsNull(style.GetWidth());
            style.SetWidth(UnitValue.CreatePointValue(expectedWidth));
            NUnit.Framework.Assert.AreEqual(UnitValue.CreatePointValue(expectedWidth), style.GetWidth());
        }