Test::TestResult  BloomFilterTestSuite::execTest()
{
	std::cout << "Running tests on BloomFilter classes" << std::endl;
	msg_init();
	msg_setlevel(100);
	setupGlobalKey();

	std::cout << "Testing BloomFilter..." << std::endl;
	testBloomFilter();
	
	std::cout << "Testing AgeBloomFilter..." << std::endl;
	testAgeBloomFilter();

	std::cout << "Testing CountBloomFilter..." << std::endl;
	testCountBloomFilter();

	std::cout << "All tests on all BloomFilter classes passed" << std::endl;

	return PASSED;
}
예제 #2
0
int main(void)
{
#if 1
	int errors=0;
	errors += testBloomFilter();
    testStringCollection();
	errors += testVector();
	testList();
	testBinarySearchTree();
	testStringCollection();
	TestDictionary();
	TestBitstring();
	testScapegoatTree();
	testStreamBuffers();
	/*RedBlackTree * rb = newRedBlackTree(20,5);*/
	/*rb->VTable->Finalize(rb);*/
	return errors;
#else

#endif
}