Describe the bug
In Tier 1 Test 3 the sum should be negative 45
int[] arr3 = { -1, -2, -3, -4, -5, -6, -7, -8, -9 };
assertEquals(45, SumOverArray.IterateAndSum(arr3));
To Reproduce
Steps to reproduce the behavior:
Go to RevassessTier1\src\test\java\com\tier1\answers\Answer3Tests.java
Describe the bug In Tier 1 Test 3 the sum should be negative 45 int[] arr3 = { -1, -2, -3, -4, -5, -6, -7, -8, -9 }; assertEquals(45, SumOverArray.IterateAndSum(arr3));
To Reproduce Steps to reproduce the behavior:
Expected behavior assertion should be made for -45 not 45 int[] arr3 = { -1, -2, -3, -4, -5, -6, -7, -8, -9 }; assertEquals(-45, SumOverArray.IterateAndSum(arr3));