(int val1, int val2)
| 70 | } |
| 71 | |
| 72 | public static void assertIsEqual(int val1, int val2) |
| 73 | { |
| 74 | if (val1 != val2) |
| 75 | { |
| 76 | throw new RuntimeException("Test failed " + val1 + " should be equal to " + val2); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | public static double sum(double[] arr) |
| 81 | { |