public void Reverse(int[] numbers, int[] Expected) { //arrange instantiating objects ArrayWarmups WarmUp = new ArrayWarmups(); //act Method int[] result = WarmUp.Reverse(numbers); //assert testing result Assert.AreEqual(Expected, result); }
public void MakePi(int n, int[] Expected) { //arrange instantiating objects ArrayWarmups WarmUp = new ArrayWarmups(); //act Method int[] result = WarmUp.MakePi(n); //assert testing result Assert.AreEqual(Expected, result); }
public void HasEven(int[] numbers, bool Expected) { //arrange instantiating objects ArrayWarmups WarmUp = new ArrayWarmups(); //act Method bool result = WarmUp.HasEven(numbers); //assert testing result Assert.AreEqual(Expected, result); }
public void make2(int[] a, int[] b, int[] Expected) { //arrange instantiating objects ArrayWarmups WarmUp = new ArrayWarmups(); //act Method int[] result = WarmUp.make2(a, b); //assert testing result Assert.AreEqual(Expected, result); }
public void commonEnd(int[] a, int[] b, bool Expected) { //arrange instantiating objects ArrayWarmups WarmUp = new ArrayWarmups(); //act Method bool result = WarmUp.commonEnd(a, b); //assert testing result Assert.AreEqual(Expected, result); }