28 lines
		
	
	
		
			718 B
		
	
	
	
		
			C++
		
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			718 B
		
	
	
	
		
			C++
		
	
	
/**
 | 
						|
 * @file    testClusterTree.cpp
 | 
						|
 * @brief   Unit tests for Bayes Tree
 | 
						|
 * @author  Kai Ni
 | 
						|
 * @author  Frank Dellaert
 | 
						|
 */
 | 
						|
 | 
						|
#include <boost/assign/std/list.hpp> // for operator +=
 | 
						|
using namespace boost::assign;
 | 
						|
 | 
						|
#include <CppUnitLite/TestHarness.h>
 | 
						|
 | 
						|
#include "SymbolicFactorGraph.h"
 | 
						|
#include "ClusterTree-inl.h"
 | 
						|
 | 
						|
using namespace gtsam;
 | 
						|
 | 
						|
// explicit instantiation and typedef
 | 
						|
template class ClusterTree<SymbolicFactorGraph>;
 | 
						|
typedef ClusterTree<SymbolicFactorGraph> SymbolicClusterTree;
 | 
						|
 | 
						|
/* ************************************************************************* */
 | 
						|
int main() {
 | 
						|
	TestResult tr;
 | 
						|
	return TestRegistry::runAllTests(tr);
 | 
						|
}
 | 
						|
/* ************************************************************************* */
 |