public int length() {
        return partitions.length;
    }
@Test
    public void test_getLength() {
        int len = RandomPicker.getInt(100);
        PartitionTableView table = new PartitionTableView(new InternalPartition[len]);
        assertEquals(len, table.length());
    }