Exemplo n.º 1
0
 @Test
 @Ignore
 public void testToFutureStream() throws Exception {
   assertThat(
       ToStream.toFutureStream(LazyStream.of(1, 2, 3, 4)).collect(Collectors.toList()).size(),
       is(4));
 }
Exemplo n.º 2
0
 @Test
 public void testToFunctionalJavaStream() throws Exception {
   assertThat(ToStream.toFunctionalJavaStream(LazyStream.of(1, 2, 3, 4)).toList().length(), is(4));
 }
Exemplo n.º 3
0
 @Test
 public void testToLazySeq() throws Exception {
   assertThat(ToStream.toLazySeq(LazyStream.of(1, 2, 3, 4)).toList().size(), is(4));
 }
Exemplo n.º 4
0
 @Test
 public void testToJooqLambda() throws Exception {
   assertThat(
       ToStream.toJooqLambda(LazyStream.of(1, 2, 3, 4)).collect(Collectors.toList()).size(),
       is(4));
 }