Click here to Skip to main content
15,884,099 members
Articles / Desktop Programming / MFC

Tree Container Library

Rate me:
Please Sign up or sign in to vote.
4.85/5 (29 votes)
22 Aug 2007Zlib10 min read 228.2K   7.2K   111  
A generic template class library for storing data in a tree-like structure.
#pragma once
#include "basic_tree_tester.h"

template<typename treetype>
class associative_tree_tester : public basic_tree_tester<treetype>
{
public:
	associative_tree_tester() {}
	~associative_tree_tester() {}

	// interface
	void run();

private:
	// implementation
	void test_find(treetype& test_tree);
	void test_erase_stored_type(treetype& test_tree);
	void test_insert_range();
	void test_count();
	void test_lower_upper_bound_equal_range();
	void insert_double_vowels(treetype& test_tree);
	void test_range_constructor();
};


void test_associative_tree();




#include "associative_tree_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.

License

This article, along with any associated source code and files, is licensed under The zlib/libpng License



Comments and Discussions