int main(){ fixtureSetup(); resetTestCount(); testStarted("test_should_create_tree_and_insert_root_node_and_return_true"); setup(); test_should_create_tree_and_insert_root_node_and_return_true(); tearDown(); testEnded(); testStarted("test_should_insert_child_for_the_root_node"); setup(); test_should_insert_child_for_the_root_node(); tearDown(); testEnded(); testStarted("test_getChildren_should_return_false_root__has_no_child"); setup(); test_getChildren_should_return_false_root__has_no_child(); tearDown(); testEnded(); testStarted("test_search_should_return_true_when_data_found_in_tree"); setup(); test_search_should_return_true_when_data_found_in_tree(); tearDown(); testEnded(); testStarted("test_search_should_return_false_when_data_not_in_tree"); setup(); test_search_should_return_false_when_data_not_in_tree(); tearDown(); testEnded(); testStarted("test_to_insert_multiple_nodes_at_root_node"); setup(); test_to_insert_multiple_nodes_at_root_node(); tearDown(); testEnded(); testStarted("test_to_insert_child_of_child_of_root"); setup(); test_to_insert_child_of_child_of_root(); tearDown(); testEnded(); testStarted("test_should_delete_element_and_return_true"); setup(); test_should_delete_element_and_return_true(); tearDown(); testEnded(); summarizeTestCount(); fixtureTearDown(); return 0; }
int main(){ fixtureSetup(); resetTestCount(); testStarted("test_to_insert_root"); setup(); test_to_insert_root(); tearDown(); testEnded(); testStarted("test_to_insert_nodes_under_root_node"); setup(); test_to_insert_nodes_under_root_node(); tearDown(); testEnded(); testStarted("test_to_insert_multiple_nodes_at_root_node"); setup(); test_to_insert_multiple_nodes_at_root_node(); tearDown(); testEnded(); testStarted("test_to_insert_child_at_of_root"); setup(); test_to_insert_child_at_of_root(); tearDown(); testEnded(); testStarted("test_to_insert_child_at_3rd_layer"); setup(); test_to_insert_child_at_3rd_layer(); tearDown(); testEnded(); testStarted("test_to_check_child_of_a_leaf_node"); setup(); test_to_check_child_of_a_leaf_node(); tearDown(); testEnded(); testStarted("test_to_delete_a_node_under_root_node"); setup(); test_to_delete_a_node_under_root_node(); tearDown(); testEnded(); summarizeTestCount(); fixtureTearDown(); return 0; }