As it deletes ,it recursively deletes seperator in parent, also when it reaches root it collapse root as expected.

Test Case passed:

Building table:

	myTable->Insert("My Space0",new RecStoreAdd());
	myTable->Insert("My Space1",new RecStoreAdd());
	myTable->Insert("My Space2",new RecStoreAdd());
	myTable->Insert("My Space3",new RecStoreAdd());
	myTable->Insert("My Space4",new RecStoreAdd());
	myTable->Insert("My Space5",new RecStoreAdd());
	myTable->Insert("My Space6",new RecStoreAdd());
	myTable->Insert("My Space7",new RecStoreAdd());
	myTable->Insert("My Space8",new RecStoreAdd());
	myTable->Insert("My Space9",new RecStoreAdd());

Delete records:

	myTable->Delete("My Space5");
	myTable->Delete("My Space8");
	myTable->Delete("My Space9");

Result:

This is tree level : 1
 It has Keys :
My Space2
My Space4
 Parent Add is :00000000
 This is tree level : 2
 It has Keys :
My Space0
My Space1
 Parent Add is :00922A58
 This is tree level : 2
 It has Keys :
My Space2
My Space3
 Parent Add is :00922A58
 This is tree level : 2
 It has Keys :
My Space4
My Space6
My Space7
 Parent Add is :009238F0

Press any key to continue . . .
code clean up