public void Test2E() { int[] a = new int[] { 1, -1, -2, -3, -4 }; Assert.AreEqual(24, Dec5.CountArrayStrangeSteps(a)); }
public void Test2D() { int[] a = new int[] { 1, -1 }; Assert.AreEqual(3, Dec5.CountArrayStrangeSteps(a)); }
public void Test2E() { int[] a = new int[] { 1, -1, -2, -3, -4 }; Assert.AreEqual(24, Dec5.CountArrayStrangeSteps(a)); }
public void Test2D() { int[] a = new int[] { 1, -1 }; Assert.AreEqual(3, Dec5.CountArrayStrangeSteps(a)); }