add: ACE_RB_Tree<ACE_CString, int, ACE_Less_Than<ACE_CString>, ACE_Null_Mutex> tree;  tree.bind (ACE_CString ("51"),  1); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("13"),  2); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("36"),  3); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("15"),  4); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("22"),  5); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("25"),  6); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("42"),  7); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("48"),  8); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("03"),  9); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("56"), 10); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("28"), 11); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("55"), 12); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("21"), 13); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("62"), 14); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("18"), 15); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("20"), 16); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("26"), 17); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("29"), 18); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("50"), 19); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("05"), 20); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("59"), 21); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("65"), 22); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("66"), 23); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("45"), 24); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("34"), 25); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("27"), 26); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("40"), 27); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("30"), 28); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("64"), 29); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("11"), 30); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("16"), 31); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("47"), 32); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("10"), 33); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("37"), 34); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("09"), 35); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("54"), 36); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("23"), 37); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("44"), 38); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("19"), 39); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("00"), 40); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("04"), 41); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("63"), 42); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("08"), 43); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("39"), 44); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("31"), 45); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("02"), 46); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("33"), 47); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("60"), 48); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("61"), 49); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("57"), 50); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("43"), 51); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("46"), 52); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("38"), 53); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("01"), 54); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("12"), 55); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("24"), 56); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("52"), 57); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("07"), 58); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("14"), 59); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("06"), 60); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("58"), 61); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("49"), 62); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("17"), 63); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("53"), 64); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("32"), 65); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("35"), 66); ACE_ASSERT (tree.test_invariant () == 0); tree.bind (ACE_CString ("41"), 67); ACE_ASSERT (tree.test_invariant () == 0);  tree.unbind (ACE_CString ("51")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("13")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("36")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("15")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("22")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("25")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("42")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("48")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("03")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("56")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("28")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("55")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("21")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("62")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("18")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("20")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("26")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("29")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("50")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("05")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("59")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("65")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("66")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("45")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("34")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("27")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("40")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("30")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("64")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("11")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("16")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("47")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("10")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("37")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("09")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("54")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("23")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("44")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("19")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("00")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("04")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("63")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("08")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("39")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("31")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("02")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("33")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("60")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("61")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("57")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("43")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("46")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("38")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("01")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("12")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("24")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("52")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("07")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("14")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("06")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("58")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("49")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("17")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("53")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("32")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("35")); ACE_ASSERT (tree.test_invariant () == 0); tree.unbind (ACE_CString ("41")); ACE_ASSERT (tree.test_invariant () == 0);
context: main (int, ACE_TCHAR *[]){  ACE_START_TEST (ACE_TEXT ("RB_Tree_Test"));  // Construct and run four distinctly parameterized tests.  Note that  // specialization of the ACE_Less_Than template for character  // strings performs strcmp style string comparisons rather than <  // operator comparison of the const char * pointers themselves.  INT_INT_RB_TREE_TEST int_int_test (RB_TREE_TEST_ENTRIES,                                     number_integers,                                     number_integers,                                     int_int_index);  INT_STR_RB_TREE_TEST int_str_test (RB_TREE_TEST_ENTRIES,                                     number_integers,                                     number_strings,                                     int_str_index);  STR_INT_RB_TREE_TEST str_int_test (RB_TREE_TEST_ENTRIES,                                     number_strings,                                     number_integers,                                     str_int_index);  STR_STR_RB_TREE_TEST str_str_test (RB_TREE_TEST_ENTRIES,                                     number_strings,                                     number_strings,                                     str_str_index);  int_int_test.run_test ();  int_str_test.run_test ();  str_int_test.run_test ();  str_str_test.run_test ();  ACE_END_TEST;  return 0;}