@Test
    public void testBitOr() {
        int value = 1 | 2 | 4 | 8;
        
        assertEquals(Optional.of(value), Seq.of(1, 2, 4, 8).bitOr());
        assertEquals(Optional.of((long) value), Seq.of(1, 2, 4, 8).bitOr(t -> (long) t));
        assertEquals(value, Seq.of(1, 2, 4, 8).bitOrInt(t -> t));
        assertEquals((long) value, Seq.of(1, 2, 4, 8).bitOrLong(t -> t));
    }
@author Lukas Eder
@author Roman Tkalenko
jOOL-java-8/src/test/java/org/jooq/lambda/SeqTest.java