source: src/Graph/unittests/BreadthFirstSearchGathererUnitTest.hpp@ fba720

Candidate_v1.6.1 ChemicalSpaceEvaluator TremoloParser_IncreasedPrecision
Last change on this file since fba720 was e3ec8a8, checked in by Frederik Heber <frederik.heber@…>, 8 years ago

Extended BreadthFirstSearchGatherer to allow BFS with limited discovery horizon.

  • TESTS: extended unit test as well.
  • Property mode set to 100644
File size: 940 bytes
Line 
1/*
2 * BreadthFirstSearchGathererUnitTest.hpp
3 *
4 * Created on: May 19, 2017
5 * Author: heber
6 */
7
8#ifndef BREADTHFIRSTSEARCHGATHERERUNITTEST_HPP_
9#define BREADTHFIRSTSEARCHGATHERERUNITTEST_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
17#include <cppunit/extensions/HelperMacros.h>
18
19struct BoostGraphCreator;
20
21/********************************************** Test classes **************************************/
22
23class BreadthFirstSearchGathererTest : public CppUnit::TestFixture
24{
25 CPPUNIT_TEST_SUITE( BreadthFirstSearchGathererTest) ;
26 CPPUNIT_TEST ( operatorTest );
27 CPPUNIT_TEST ( limitedDistanceTest );
28 CPPUNIT_TEST_SUITE_END();
29
30public:
31 void setUp();
32 void tearDown();
33 void operatorTest();
34 void limitedDistanceTest();
35
36private:
37 void prepareLinearGraph();
38
39private:
40
41 BoostGraphCreator *BGCreator;
42};
43
44#endif /* BREADTHFIRSTSEARCHGATHERERUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.