public void SwapElementsTest(int[] source, int index0, int index1, int[] expected) { var list = new VSArray <int>(source); list.SwapElements(index0, index1); Assert.That(list, Is.EqualTo(expected.ToVSArray())); }