Added deletion tests for RbTree & IntervalTree in unittests.

This commit is contained in:
Jean-Paul Chaput 2023-03-28 15:12:31 +02:00
parent e22e7f7476
commit 2568a1a496
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ namespace {
cerr << endl << endl;
}
rb.remove( Interval( l(3), l(4) ));
rb.write( "finalRbTree.gv" );
for ( Interval intv : rb.getElements() ) {
@ -100,6 +101,7 @@ namespace {
cerr << endl << endl;
}
itree.remove( IntvString( "a", l(3), l(4) ));
itree.write( "finalIntervalTree.gv" );
for ( IntervalData<string> intv : itree.getElements() ) {