public void CopyFrom_IsEmpty() { TestTableStyle c = new TestTableStyle(); TableStyle s = new TableStyle(); s.BorderWidth = Unit.Empty; c.CopyFrom(s); Assert.IsTrue(c.Empty, "A1"); s.GridLines = GridLines.Both; c.CopyFrom(s); Assert.IsFalse(c.Empty, "A2"); }
public void CopyFrom_Empty() { TestTableStyle ts = new TestTableStyle(); ts.CopyFrom(new TableStyle()); DefaultProperties(ts); }
public void CopyFrom_IsEmpty () { TestTableStyle c = new TestTableStyle (); TableStyle s = new TableStyle (); s.BorderWidth = Unit.Empty; c.CopyFrom (s); Assert.IsTrue (c.Empty, "A1"); s.GridLines = GridLines.Both; c.CopyFrom (s); Assert.IsFalse (c.Empty, "A2"); }
public void CopyFrom_Empty () { TestTableStyle ts = new TestTableStyle (); ts.CopyFrom (new TableStyle ()); DefaultProperties (ts); }