@Test(dataProvider = "Stream.limit") public void testSubsizedWithRange(String description, UnaryOperator<Stream<Long>> fs) { // Range is [0, Long.MAX_VALUE), splits are SUBSIZED // Such a size will induce out of memory errors for incorrect // slice implementations withData(refLongs()). stream(s -> fs.apply(s)). without(StreamTestScenario.CLEAR_SIZED_SCENARIOS). exercise(); }
@Test(dataProvider = "Stream.limit") public void testSubsizedWithRange(String description, UnaryOperator<Stream<Long>> fs) { // Range is [0, Long.MAX_VALUE), splits are SUBSIZED // Such a size will induce out of memory errors for incorrect // slice implementations withData(refLongs()). stream(s -> fs.apply(s)). without(StreamTestScenario.PAR_STREAM_TO_ARRAY_CLEAR_SIZED). exercise(); }