|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Tests for Generate Tree. More...
#include <gtest/gtest.h>#include <algorithm>#include <generate_tree.H>#include "tree-node-common.H"Go to the source code of this file.
Functions | |
| TEST_F (Simple_Tree, Generate_ntreepic) | |
| static Tree_Node< int > * | chain (size_t n) |
| TEST (Generate_Tree, a_tree_of_any_depth_is_written) | |
| TEST (Generate_Tree, graphviz_of_a_deep_tree_needs_no_recursion) | |
Tests for Generate Tree.
Definition in file generate_tree.cc.
|
static |
Definition at line 91 of file generate_tree.cc.
References root().
Referenced by Aleph::planarity_detail::LR_Planarity_Checker< GT, SA >::build_combinatorial_embedding_linear_lr(), Aleph::Gen_Polynomial< Coefficient >::count_real_roots(), Aleph::Gen_Centroid_Decomposition< GT, SA >::distance_to_centroid_id(), Aleph::negative_cycles_detail::find_predecessor_cycle(), Aleph::Gen_Centroid_Decomposition< GT, SA >::for_each_centroid_ancestor_id(), Aleph::Gen_Centroid_Decomposition< GT, SA >::is_centroid_ancestor_id(), Aleph::ConstrainedDelaunayTriangulation::map_constraints(), Aleph::Gen_Polynomial< Coefficient >::sturm_chain(), Aleph::Gen_Polynomial< Coefficient >::sturm_sign_changes(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TYPED_TEST().
| TEST | ( | Generate_Tree | , |
| a_tree_of_any_depth_is_written | |||
| ) |
Definition at line 105 of file generate_tree.cc.
References chain(), Aleph::count(), Aleph::destroy_tree(), Aleph::generate_tree(), Aleph::Max_Tree_Node_Depth, and out.
| TEST | ( | Generate_Tree | , |
| graphviz_of_a_deep_tree_needs_no_recursion | |||
| ) |
Definition at line 127 of file generate_tree.cc.
References chain(), Aleph::count(), Aleph::destroy_tree(), Aleph::generate_tree_graphviz(), and out.
| TEST_F | ( | Simple_Tree | , |
| Generate_ntreepic | |||
| ) |
Definition at line 49 of file generate_tree.cc.
References Aleph::generate_tree(), and root().