Пример #1
0
 public void InsertAfter__An_Array_Can_Insert_An_Item_After()
 {
     var animals = new IAnimal[]
     {
         _dog,
         _cat
     };
     animals.InsertAfter(ref animals, _fish, animals.Length - 1);
     Assert.IsTrue(animals.IndexOf(_fish) == animals.Length - 1);
 }