MCPcopy Create free account
hub / github.com/BirolLab/abyss / TEST_F

Function TEST_F

Unittest/Graph/ConstrainedBidiBFSVisitorTest.cpp:52–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50};
51
52TEST_F(ConstrainedBidiBFSVisitorTest, IdentifyUniquePath)
53{
54 ConstrainedBidiBFSVisitor<Graph>
55 visitor(simpleAcyclicGraph, 0, 3, 1, 1, 3, 2, NO_LIMIT, NO_MEM_LIMIT);
56 bidirectionalBFS(simpleAcyclicGraph, 0, 3, visitor);
57
58 Path<V> uniquePath;
59 PathSearchResult result = visitor.uniquePathToGoal(uniquePath);
60
61 ASSERT_EQ(FOUND_PATH, result);
62 ASSERT_EQ("0,2,3", uniquePath.str());
63}
64
65TEST_F(ConstrainedBidiBFSVisitorTest, StartEqualsGoal)
66{

Callers

nothing calls this directly

Calls 9

bidirectionalBFSFunction · 0.85
uniquePathToGoalMethod · 0.45
strMethod · 0.45
pathsToGoalMethod · 0.45
insertMethod · 0.45
sizeMethod · 0.45
findMethod · 0.45
endMethod · 0.45
getNumNodesVisitedMethod · 0.45

Tested by

no test coverage detected