Ejemplo n.º 1
0
 public void ReturnItemInsertedAtIndex(ListAndIndex listAndIndex, object item) =>
 listAndIndex.List.InsertAt(listAndIndex.Index, item).ListRef(listAndIndex.Index)
 .Should().Be(item);
Ejemplo n.º 2
0
 public void IncreaseInSizeWhenItemIsInserted(ListAndIndex listAndIndex, object item) =>
 listAndIndex.List.InsertAt(listAndIndex.Index, item).Length
 .Should().Be(listAndIndex.List.Length + 1);