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