heapRecordWrote.getDataAssociatedSize(),
heapRecordRead.getDataAssociatedSize());
assertEquals("node id error", heapRecordWrote.getNodeIdentifier(),
heapRecordRead.getNodeIdentifier());
final HeapIdNode heapIdNode1 = (HeapIdNode) heapRecordWrote
.getIdNode();
final HeapIdNode heapIdNode2 = (HeapIdNode) heapRecordRead
.getIdNode();
assertEquals("id1 file pos error",
heapRecordWrote.getPositionInFile(),
heapIdNode1.getPositionInFile());
assertEquals("id2 file pos error",
heapRecordRead.getPositionInFile(),
heapIdNode2.getPositionInFile());
assertEquals("id parent file pos error",
heapIdNode1.getParentPositionInFile(),
heapIdNode1.getParentPositionInFile());
assertEquals("id right file pos error",
heapIdNode1.getRightPositionInFile(),