@Test public void addsListWithValues() { int result = Question1.addUp(Stream.of(1, 3, -2)); assertEquals(2, result); }
public static int addUp(Stream<Integer> numbers) { return Exercises.replaceThisWithSolution(); }
Question1 { public static int addUp(Stream<Integer> numbers) { return Exercises.replaceThisWithSolution(); } }
Question1 { public static int addUp(Stream<Integer> numbers) { return Exercises.replaceThisWithSolution(); }  }
Question1 { public static int addUp(Stream<Integer> numbers) { return Exercises.replaceThisWithSolution(); }  static int addUp(Stream<Integer> numbers); static List<String> getNamesAndOrigins(List<Artist> artists); static List<Album> getAlbumsWithAtMostThreeTracks(List<Album> input); }
Question1 { public static int addUp(Stream<Integer> numbers) { return Exercises.replaceThisWithSolution(); }  static int addUp(Stream<Integer> numbers); static List<String> getNamesAndOrigins(List<Artist> artists); static List<Album> getAlbumsWithAtMostThreeTracks(List<Album> input);  }