예제 #1
0
 public void TestIfElementGridColIsTheSameValueThatIsProvidedToSetGridCol()
 {
     var block = new TextBlock();
     block.SetGridCol(1);
     var expected = 1;
     var actual = Grid.GetColumn(block);
     Assert.AreEqual(expected, actual);
 }
예제 #2
0
 public void TestIfSetGridColThrowsWithNegativeValue()
 {
     var block = new TextBlock();
     block.SetGridCol(-1);
 }