Ejemplo n.º 1
0
 public void TestIfElementGridRowIsTheSameValueThatIsProvidedToSetGridRow()
 {
     var block = new TextBlock();
     block.SetGridRow(1);
     var expected = 1;
     var actual = Grid.GetRow(block);
     Assert.AreEqual(expected, actual);
 }
Ejemplo n.º 2
0
 public void TestIfSetGridRowThrowsWithNegativeValue()
 {
     var block = new TextBlock();
     block.SetGridRow(-1);
 }