public void TestTableAddItems() { Table table = new Table("table"); Assert.AreEqual(2, table.AddItems(new object[] { new Cell(1,1), new Cell(2,2)}).SelectedItems().Count); }
public void TestTableAddDuplicateItems() { Table table = new Table("table"); Assert.AreEqual(table , table.AddItems(new object []{ new Cell(1,1), new Cell(1,1)} )); }