### Question:
NonInrementalDisjointSetStruct extends SequentialDisjointSetStruct { public static MemoryEstimation memoryEstimation() { return NonInrementalDisjointSetStruct.MEMORY_ESTIMATION; } NonInrementalDisjointSetStruct(long size, AllocationTracker tracker); static MemoryEstimation memoryEstimation(); @Override HugeLongArray parent(); @Override long size(); @Override long find(final long nodeId); @Override long setIdOf(final long nodeId); static final MemoryEstimation MEMORY_ESTIMATION; }### Answer:
@Test void shouldComputeMemoryEstimation() { assertMemoryEstimation(memoryEstimation(), 0, MemoryRange.of(64)); assertMemoryEstimation(memoryEstimation(), 100, MemoryRange.of(864)); assertMemoryEstimation(memoryEstimation(), 100_000_000_000L, MemoryRange.of(800_122_070_392L)); }