Searched refs:seedless (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | IntReduceTest.java | 58 OptionalInt seedless = exerciseTerminalOps(data, s -> s.reduce(irPlus)); in testOps() local 60 assertEquals(folded, seedless.orElse(0)); in testOps() 62 seedless = exerciseTerminalOps(data, s -> s.reduce(irMin)); in testOps() 64 assertEquals(folded, seedless.orElse(Integer.MAX_VALUE)); in testOps() 66 seedless = exerciseTerminalOps(data, s -> s.reduce(irMax)); in testOps() 68 assertEquals(folded, seedless.orElse(Integer.MIN_VALUE)); in testOps() 70 seedless = exerciseTerminalOps(data, s -> s.map(irDoubler), s -> s.reduce(irPlus)); in testOps() 72 assertEquals(folded, seedless.orElse(0)); in testOps() 74 seedless = exerciseTerminalOps(data, s -> s.map(irDoubler), s -> s.reduce(irMin)); in testOps() 76 assertEquals(folded, seedless.orElse(Integer.MAX_VALUE)); in testOps() [all …]
|
D | ReduceTest.java | 64 Optional<Integer> seedless = exerciseTerminalOps(data, s -> s.reduce(rPlus)); in testOps() local 66 assertEquals(folded, seedless.orElse(0)); in testOps() 68 seedless = exerciseTerminalOps(data, s -> s.reduce(rMin)); in testOps() 70 assertEquals(folded, seedless.orElse(Integer.MAX_VALUE)); in testOps() 72 seedless = exerciseTerminalOps(data, s -> s.reduce(rMax)); in testOps() 74 assertEquals(folded, seedless.orElse(Integer.MIN_VALUE)); in testOps() 76 seedless = exerciseTerminalOps(data, s -> s.map(mDoubler), s -> s.reduce(rPlus)); in testOps() 78 assertEquals(folded, seedless.orElse(0)); in testOps() 80 seedless = exerciseTerminalOps(data, s -> s.map(mDoubler), s -> s.reduce(rMin)); in testOps() 82 assertEquals(folded, seedless.orElse(Integer.MAX_VALUE)); in testOps() [all …]
|