@Test public void testSerialToParallel() { IntStream range = IntStream.range(0, 100); assertEquals(328350, SerialToParallel.sumOfSquares(range)); }
public static int sumOfSquares(IntStream range) { return Exercises.replaceThisWithSolution(); }
SerialToParallel { public static int sumOfSquares(IntStream range) { return Exercises.replaceThisWithSolution(); } }
SerialToParallel { public static int sumOfSquares(IntStream range) { return Exercises.replaceThisWithSolution(); }  }
SerialToParallel { public static int sumOfSquares(IntStream range) { return Exercises.replaceThisWithSolution(); }  static int sumOfSquares(IntStream range); static int sequentialSumOfSquares(IntStream range); }
SerialToParallel { public static int sumOfSquares(IntStream range) { return Exercises.replaceThisWithSolution(); }  static int sumOfSquares(IntStream range); static int sequentialSumOfSquares(IntStream range);  }