X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Ftests_nodes%2Ftest_symbol_tree.cpp;h=bc938d1d80eefbea49a430a403bd700fb878ca57;hb=68c13351f6768d8104716fc5757fbaf11bb02519;hp=8d4b2a151cc29e7dc28980fe8d36463de0a2d258;hpb=5a8e13e7a44ed98d9683bc6cd3bb374e9d3b0756;p=feisty_meow.git diff --git a/nucleus/library/tests_nodes/test_symbol_tree.cpp b/nucleus/library/tests_nodes/test_symbol_tree.cpp index 8d4b2a15..bc938d1d 100644 --- a/nucleus/library/tests_nodes/test_symbol_tree.cpp +++ b/nucleus/library/tests_nodes/test_symbol_tree.cpp @@ -63,6 +63,7 @@ int test_symbol_tree::execute() LOG("please check memory usage and record it, then hit a key to start testing."); try { + // creates a crazy tree with only one branch per node, but 40,000 deep. symbol_tree t("blork"); symbol_tree *curr = &t; for (int i = 0; i < MAX_NODES_TESTED; i++) { @@ -82,17 +83,10 @@ int test_symbol_tree::execute() return 1; } -LOG("got out of the loop"); - -//one assertion to tickle final report. - bool farp = true; - ASSERT_TRUE(farp, "tickling reporting for assertions"); -//hmmm: above shouldn't be needed at all. - LOG("check memory usage after the run. then hit a key to end " "the program."); -//create a tree structure... +//create a more balanced tree structure... //perform known operations and validate shape of tree. return final_report();