@Test
    public void testCommonSuffix() {
        assertEquals("", Seq.of().commonSuffix());
        assertEquals("", Seq.of("").commonSuffix());
        assertEquals("", Seq.of("", "A").commonSuffix());
        assertEquals("", Seq.of("", "AA", "AAB").commonSuffix());
        assertEquals("A", Seq.of("A").commonSuffix());
        assertEquals("", Seq.of("A", "AA", "AAB").commonSuffix());
        assertEquals("", Seq.of("AB", "ABC", "ABCD", "ABD").commonSuffix());
        assertEquals("", Seq.of("ABC", "ABCD", "ABD").commonSuffix());
        assertEquals("", Seq.of("AABBCC", "AABBDD", "AABBE").commonSuffix());
        assertEquals("A", Seq.of("A", "AA", "BAA").commonSuffix());
        assertEquals("BA", Seq.of("BA", "CBA", "DCBA", "DBA").commonSuffix());
        assertEquals("BA", Seq.of("CBA", "DCBA", "DBA").commonSuffix());
        assertEquals("BBAA", Seq.of("CCBBAA", "DDBBAA", "EBBAA").commonSuffix());
    }
@author Lukas Eder
@author Roman Tkalenko
jOOL/src/test/java/org/jooq/lambda/SeqTest.java