private void Test(int[] array, int expectedResult) { var result = _tapeEquilibrium.solution(array); Assert.AreEqual(expectedResult, result); }
public void MainTests(int expected, int[] A) { Assert.Equal(expected, TapeEquilibrium.solution(A)); }
private void Test(int[] array, int expectedResult) { var result = _tapeEquilibrium.solution(array); Assert.AreEqual(expectedResult, result); }
public void MainTests(int expected, int[] A) { Assert.Equal(expected, TapeEquilibrium.solution(A)); }