heapRecordWrote.getPreviousRecordPositionInFile(),
heapRecordRead.getPreviousRecordPositionInFile());
if (heapRecordWrote.isFreeRecord()) {
final HeapFreeNode heapFreeNode1 = (HeapFreeNode) heapRecordWrote
.getFreeNode();
final HeapFreeNode heapFreeNode2 = (HeapFreeNode) heapRecordRead
.getFreeNode();
assertEquals("free1 file pos error",
heapRecordWrote.getPositionInFile(),
heapFreeNode1.getPositionInFile());
assertEquals("free2 file pos error",
heapRecordRead.getPositionInFile(),
heapFreeNode2.getPositionInFile());
assertEquals("free parent file pos error",
heapFreeNode1.getParentPositionInFile(),
heapFreeNode1.getParentPositionInFile());
assertEquals("free right file pos error",
heapFreeNode1.getRightPositionInFile(),