public void getMaxSumTest() { int[] arr = new int[] { 3, 2, 1 }; int result = ThreadClass.getMaxSum(arr); Assert.AreEqual(result, 4); }