|
#pragma once
template<typename treetype>
class nonmodifying_algorithm_tester : public basic_tree_tester<treetype>
{
public:
nonmodifying_algorithm_tester() {}
~nonmodifying_algorithm_tester() {}
void run();
private:
void test_for_each();
void test_count();
void test_count_if();
void test_min_element();
void test_max_element();
void test_find();
void test_find_if();
void test_search_n();
void test_search();
void test_find_end();
void test_find_first_of();
void test_adjacent_find();
void test_equal();
void test_mismatch();
void test_lexicographical_compare();
};
void test_nonmodifying_algorithms();
#include "nonmodifying_algorithm_tester.inl"
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.