@Test
public void testComplement() {

    CrossTable complement = CrossTable.complement(table);
    assertEquals(complement.getNumberOfRows(), 3);
    assertEquals(complement.getNumberOfColumns(), 3);
    assertEquals(complement.getRow(0).intent, bits(0));
    assertEquals(CrossTable.complement(complement).getRow(0).intent, bits(1, 2));
}