public void TestSortingArrays1() { //TDD Test Driven Development int[] myTestArray = { 100, 400, 22, 67, 66, 54, 45, 66, 32, 43 }; int[] myRotatedArray = { 54, 45, 66, 32, 43, 100, 400, 22, 67, 66 }; CollectionAssert.AreEqual(myRotatedArray, NewRotation.NewRotatedArray(myTestArray, "l", 5)); }
public void TestRotateArray1() { //TDD Test Driven Development int[] myTestArray = { 100, 400, 22, 67 }; int[] myRotatedArray = { 22, 67, 100, 400 }; CollectionAssert.AreEqual(myRotatedArray, NewRotation.NewRotatedArray(myTestArray, "r", 2)); }