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