public void Test1() { var numberOfElements = 5; var queries = new int[3][]; queries[0] = new int[] { 1, 2, 100 }; queries[1] = new int[] { 2, 5, 100 }; queries[2] = new int[] { 3, 4, 100 }; var expectedMaxValue = 200; var actualMaxValue = solution.arrayManipulation(numberOfElements, queries); Assert.AreEqual(expectedMaxValue, actualMaxValue); }