|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Bin Node. More...
Go to the source code of this file.
Classes | |
| class | TestSentinelNode< Key > |
| class | TestSentinelNodeVtl< Key > |
Functions | |
| TEST (BinNode, single_node) | |
| TEST (BinNode, default_constructor_sets_null_links) | |
| TEST (BinNode, reset_restores_links_to_null) | |
| TEST (BinNode, helpers_work_with_const_nodes) | |
| TEST (BinNode, node_traits_provide_generic_access) | |
| TEST (BinNode, move_constructor_moves_key_and_preserves_null_links) | |
| TEST (BinNode, key_to_node_returns_container_node) | |
| TEST (BinNodeSentinel, nullptr_is_sentinel_address) | |
| TEST (BinNode, incomplete_node_left) | |
| TEST (BinNode, incomplete_node_right) | |
Tests for Bin Node.
Definition in file bin-node.cc.
| TEST | ( | BinNode | , |
| default_constructor_sets_null_links | |||
| ) |
Definition at line 85 of file bin-node.cc.
References Aleph::BinNode< Key >::getL(), Aleph::BinNode< Key >::getR(), and Aleph::maps().
| TEST | ( | BinNode | , |
| helpers_work_with_const_nodes | |||
| ) |
Definition at line 108 of file bin-node.cc.
References KEY, Aleph::LLINK(), Aleph::maps(), and Aleph::RLINK().
| TEST | ( | BinNode | , |
| incomplete_node_left | |||
| ) |
Definition at line 164 of file bin-node.cc.
References Aleph::BinNode< Key >::get_key(), Aleph::BinNode< Key >::getL(), Aleph::BinNode< Key >::getR(), and Aleph::maps().
| TEST | ( | BinNode | , |
| incomplete_node_right | |||
| ) |
Definition at line 180 of file bin-node.cc.
References Aleph::BinNode< Key >::get_key(), Aleph::BinNode< Key >::getL(), Aleph::BinNode< Key >::getR(), and Aleph::maps().
| TEST | ( | BinNode | , |
| key_to_node_returns_container_node | |||
| ) |
Definition at line 142 of file bin-node.cc.
References Aleph::BinNode< Key >::get_key(), and Aleph::maps().
| TEST | ( | BinNode | , |
| move_constructor_moves_key_and_preserves_null_links | |||
| ) |
Definition at line 133 of file bin-node.cc.
References Aleph::BinNode< Key >::get_key(), Aleph::BinNode< Key >::getL(), Aleph::BinNode< Key >::getR(), and Aleph::maps().
| TEST | ( | BinNode | , |
| node_traits_provide_generic_access | |||
| ) |
Definition at line 116 of file bin-node.cc.
References Aleph::maps().
| TEST | ( | BinNode | , |
| reset_restores_links_to_null | |||
| ) |
Definition at line 92 of file bin-node.cc.
References Aleph::BinNode< Key >::getL(), Aleph::BinNode< Key >::getR(), Aleph::maps(), and Aleph::BinNode< Key >::reset().
| TEST | ( | BinNode | , |
| single_node | |||
| ) |
Definition at line 72 of file bin-node.cc.
References Aleph::BinNode< Key >::get_key(), Aleph::BinNode< Key >::getL(), Aleph::BinNode< Key >::getR(), and Aleph::maps().
| TEST | ( | BinNodeSentinel | , |
| nullptr_is_sentinel_address | |||
| ) |
Definition at line 150 of file bin-node.cc.
References Aleph::LLINK(), Aleph::maps(), N, and Aleph::RLINK().