public void HavingAnEmptyNormalRowList_WhenOneNormalRowIsAdded_ThenRowCountIs1() { ContentRow contentRow = new ContentRow(); contentRowList.Add(contentRow); Assert.That(contentRowList.Count, Is.EqualTo(1)); }
public void HavingANormalRowListWithOneRow_WhenClear_ThenCountIs0() { contentRowList.Add(new ContentRow()); contentRowList.Clear(); Assert.That(contentRowList.Count, Is.EqualTo(0)); }
public void HavingAnEmptyNormalRowList_WhenThreeCellsAreAdded_ThenRowCountIs1() { ContentCell contentCell1 = new ContentCell(); ContentCell contentCell2 = new ContentCell(); ContentCell contentCell3 = new ContentCell(); contentRowList.Add(contentCell1, contentCell2, contentCell3); Assert.That(contentRowList.Count, Is.EqualTo(1)); }
public void HavingAnEmptyNormalRowList_WhenThreeStringsAreAdded_ThenRowCountIs1() { IEnumerable <string> values = new List <string> { "value 1", "value 2", "value 3" }; contentRowList.Add(values); Assert.That(contentRowList.Count, Is.EqualTo(1)); }
public void HavingAnEmptyNormalRowList_WhenThreeCellsAreAdded_ThenRowCountIs1() { IEnumerable <ContentCell> cells = new List <ContentCell> { new ContentCell(), new ContentCell(), new ContentCell() }; contentRowList.Add(cells); Assert.That(contentRowList.Count, Is.EqualTo(1)); }
public void HavingANormalRowListWithOneRow_WhenRemoveTheRow_ThenCountIs0() { ContentRow contentRow = new ContentRow("value 1"); contentRowList.Add(contentRow); contentRowList.Remove(contentRow); Assert.That(contentRowList.Count, Is.EqualTo(0)); }
public void HavingAnEmptyNormalRowList_WhenThreeStringsAreAdded_ThenRowCountIs1() { contentRowList.Add("value 1", "value 2", "value 3"); Assert.That(contentRowList.Count, Is.EqualTo(1)); }