@Test
public void testJoin() {

    Concept left = (Concept) lattice.join(lattice.bottom(), new Concept(bits(), bits(1, 3)));
    Concept right = (Concept) lattice.join(lattice.bottom(), new Concept(bits(), bits(0, 5)));
    assertEquals(left.intent(), bits(1, 3));
    assertEquals(right.intent(), bits(0, 5));
    assertEquals(((Concept) lattice.join(left, left)).intent(), bits(1, 3));
    assertEquals(((Concept) lattice.join(left, right)).intent(), bits(0, 1, 3, 5));
}