|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
build_optimal_tree() gives a binary search tree of the least weighted cost More...
#include <gtest/gtest.h>#include <memory>#include <random>#include <opBinTree.H>#include <tpl_array.H>#include <tpl_binNode.H>#include <tpl_binNodeUtils.H>Go to the source code of this file.
Functions | |
| TEST (OptimalBinTree, WithoutKeysItIsEmpty) | |
| TEST (OptimalBinTree, ItsCostIsTheLeastOne) | |
| TEST (OptimalBinTree, ItsCostIsTheLeastOneWithTiesAndZeros) | |
build_optimal_tree() gives a binary search tree of the least weighted cost
Definition in file opbintree_test.cc.
| TEST | ( | OptimalBinTree | , |
| ItsCostIsTheLeastOne | |||
| ) |
Definition at line 126 of file opbintree_test.cc.
References rng.
| TEST | ( | OptimalBinTree | , |
| ItsCostIsTheLeastOneWithTiesAndZeros | |||
| ) |
Definition at line 141 of file opbintree_test.cc.
References Aleph::equal().
| TEST | ( | OptimalBinTree | , |
| WithoutKeysItIsEmpty | |||
| ) |
Definition at line 118 of file opbintree_test.cc.