Beispiel #1
0
        public void TestTableRemoveItems()
        {
            Cell item1 = new Cell(1, 1);
            Cell item2 = new Cell(2, 2);

            Table table = new Table("table").AddItems(new object[] { item1, item2 });

            Assert.AreEqual(table, table.RemoveItems(new object[] { item1, item2} ));
        }
Beispiel #2
0
 public void TestTableRemoveItem()
 {
     Cell item = new Cell(1, 1);
     Table table = new Table("table").AddItem(item);
     Assert.AreEqual(table, table.RemoveItem(item));
 }