public void TestConcatenationNullArray() { My_Array a = null; int [] conc = a.Concatenation(new int[] { 1, 2, 3 }); Assert.Fail(); }
public void TestConcatenationNotNullArray() { My_Array a = new My_Array(new int[] { 1, 2, 3 }); int [] conc = a.Concatenation(new int[] { 3, 2, 1 }); CollectionAssert.AreEqual(conc, new int[] { 1, 2, 3, 3, 2, 1 }); }