Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
tree-node.cc File Reference

Tests for Tree Node. More...

#include <gtest/gtest.h>
#include <tpl_tree_node.H>
#include <ah-zip.H>
#include <ah-string-utils.H>
#include "tree-node-common.H"
Include dependency graph for tree-node.cc:

Go to the source code of this file.

Functions

 TEST (Tree_Node, on_isolated_node)
 
 TEST (Tree_Node, simple_tree_construction_and_destruction)
 
 TEST (Tree_Node, Iterator_on_extreme_cases)
 
 TEST_F (Simple_Tree, Iterators)
 
 TEST (Tree_Node, clone_on_extreme_cases)
 
 TEST_F (Simple_Tree, level_traversal)
 
 TEST_F (Simple_Tree, clone)
 
 TEST (Tree_Node, traverse_on_extreme_cases)
 
 TEST (Tree_Node, are_tree_equal_uses_custom_comparator_recursively)
 
 TEST_F (Simple_Tree, traverse)
 
 TEST_F (Simple_Tree, deway)
 
 TEST_F (Three_Trees, insertion_of_trees)
 
 TEST_F (Three_Trees, join)
 

Detailed Description

Tests for Tree Node.

Definition in file tree-node.cc.

Function Documentation

◆ TEST() [1/6]

TEST ( Tree_Node  ,
are_tree_equal_uses_custom_comparator_recursively   
)

Definition at line 327 of file tree-node.cc.

References Aleph::are_tree_equal(), Aleph::destroy_tree(), and Aleph::maps().

◆ TEST() [2/6]

TEST ( Tree_Node  ,
clone_on_extreme_cases   
)

Definition at line 275 of file tree-node.cc.

References Aleph::clone_tree(), Aleph::destroy_tree(), Aleph::maps(), and root().

◆ TEST() [3/6]

◆ TEST() [4/6]

◆ TEST() [5/6]

◆ TEST() [6/6]

TEST ( Tree_Node  ,
traverse_on_extreme_cases   
)

Definition at line 313 of file tree-node.cc.

References Aleph::maps(), and root().

◆ TEST_F() [1/7]

◆ TEST_F() [2/7]

TEST_F ( Simple_Tree  ,
deway   
)

Definition at line 370 of file tree-node.cc.

References Aleph::maps(), root(), and Aleph::search_deway().

◆ TEST_F() [3/7]

TEST_F ( Simple_Tree  ,
Iterators   
)

Definition at line 266 of file tree-node.cc.

References LocateFunctions< Container, Type >::get_it(), l, Aleph::maps(), and root().

◆ TEST_F() [4/7]

TEST_F ( Simple_Tree  ,
level_traversal   
)

Definition at line 290 of file tree-node.cc.

References Aleph::maps(), and root().

◆ TEST_F() [5/7]

◆ TEST_F() [6/7]

TEST_F ( Three_Trees  ,
insertion_of_trees   
)

◆ TEST_F() [7/7]

TEST_F ( Three_Trees  ,
join   
)