|
Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
Testcases to check Reversal of Binary Tree. More...
Functions | |
| void | test1 () |
| < Use the BinaryTree More... | |
| void | test2 () |
| A Test to check an edge case (NULL root element) More... | |
| void | test3 () |
| A Test to check correct reversal of a Binary Tree. More... | |
Testcases to check Reversal of Binary Tree.
| void tests::test1 | ( | ) |
< Use the BinaryTree
A Test to check an edge case (single element reversal)
< Check for equal sizes
< Ensure that there is only one element
< Check if both elements are same
| void tests::test2 | ( | ) |
A Test to check an edge case (NULL root element)
< Check for equal sizes
< Ensure that there is only one element
| void tests::test3 | ( | ) |
A Test to check correct reversal of a Binary Tree.
< Check for equality
< Check for equality