public virtual void SetAndGetHeightUnitValueTest() { float expectedHeight = 50; Style style = new Style(); NUnit.Framework.Assert.IsNull(style.GetHeight()); style.SetHeight(UnitValue.CreatePointValue(expectedHeight)); NUnit.Framework.Assert.AreEqual(UnitValue.CreatePointValue(expectedHeight), style.GetHeight()); }