public void ShouldThrowExceptionWhenRowValueIsNegative() { var rtfTable = new RtfTable(3, 3, 20, 20); Assert.Throws <Exception>(() => rtfTable.setRowHeight(-1, 20)); }
public void RowHeightForTableTest() { var rtfTable = new RtfTable(3, 3, 20, 20); Assert.DoesNotThrow(() => rtfTable.setRowHeight(1, 20)); }