|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Comprehensive tests for tpl_find_path.H. More...
Go to the source code of this file.
Classes | |
| class | FindPathTest |
Typedefs | |
| using | GT = List_Graph< Graph_Node< int >, Graph_Arc< int > > |
| using | Node = GT::Node |
| using | Arc = GT::Arc |
Functions | |
| TEST_F (FindPathTest, DFS_SimplePath) | |
| TEST_F (FindPathTest, DFS_PathToSelf) | |
| TEST_F (FindPathTest, DFS_NoPath) | |
| TEST_F (FindPathTest, DFS_CompleteGraph) | |
| TEST_F (FindPathTest, DFS_WithPredicate) | |
| TEST_F (FindPathTest, DFS_PredicateNotSatisfied) | |
| TEST_F (FindPathTest, BFS_SimplePath) | |
| TEST_F (FindPathTest, BFS_PathToSelf) | |
| TEST_F (FindPathTest, StartThatMeetsTheCriterion) | |
| TEST_F (FindPathTest, WhatTheFilterThrowsReachesTheCaller) | |
| TEST_F (FindPathTest, BFS_NoPath) | |
| TEST_F (FindPathTest, BFS_ShortestPath) | |
| TEST_F (FindPathTest, BFS_CompleteGraph) | |
| TEST_F (FindPathTest, BFS_WithPredicate) | |
| TEST_F (FindPathTest, DirectedDFS) | |
| TEST_F (FindPathTest, DirectedBFS) | |
| TEST_F (FindPathTest, DirectedNoPath) | |
| TEST_F (FindPathTest, DirectedPathToSelf) | |
| TEST_F (FindPathTest, DirectedWithPredicate) | |
| TEST_F (FindPathTest, LargeLinearGraph) | |
| TEST_F (FindPathTest, LargeCompleteGraph) | |
| TEST_F (FindPathTest, SingleNode) | |
| TEST_F (FindPathTest, TwoNodesConnected) | |
| TEST_F (FindPathTest, TwoNodesDisconnected) | |
| TEST_F (FindPathTest, CyclicGraph) | |
| TEST_F (FindPathTest, MultiplePaths_FindsOne) | |
Comprehensive tests for tpl_find_path.H.
Definition in file find_path_test.cc.
Definition at line 19 of file find_path_test.cc.
| using GT = List_Graph<Graph_Node<int>, Graph_Arc<int> > |
Definition at line 17 of file find_path_test.cc.
Definition at line 18 of file find_path_test.cc.
| TEST_F | ( | FindPathTest | , |
| BFS_CompleteGraph | |||
| ) |
Definition at line 290 of file find_path_test.cc.
References nodes.
| TEST_F | ( | FindPathTest | , |
| BFS_NoPath | |||
| ) |
Definition at line 246 of file find_path_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), and Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node().
| TEST_F | ( | FindPathTest | , |
| BFS_PathToSelf | |||
| ) |
Definition at line 167 of file find_path_test.cc.
References Aleph::Path< GT >::get_first_node(), m, and Aleph::Path< GT >::size().
| TEST_F | ( | FindPathTest | , |
| BFS_ShortestPath | |||
| ) |
Definition at line 263 of file find_path_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), and Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node().
| TEST_F | ( | FindPathTest | , |
| BFS_SimplePath | |||
| ) |
Definition at line 154 of file find_path_test.cc.
References Aleph::Path< GT >::is_empty(), and nodes.
| TEST_F | ( | FindPathTest | , |
| BFS_WithPredicate | |||
| ) |
Definition at line 300 of file find_path_test.cc.
References nodes.
| TEST_F | ( | FindPathTest | , |
| CyclicGraph | |||
| ) |
Definition at line 484 of file find_path_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), and Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node().
| TEST_F | ( | FindPathTest | , |
| DFS_CompleteGraph | |||
| ) |
Definition at line 115 of file find_path_test.cc.
References Aleph::Path< GT >::is_empty(), and nodes.
| TEST_F | ( | FindPathTest | , |
| DFS_NoPath | |||
| ) |
Definition at line 95 of file find_path_test.cc.
References Aleph::find_path_depth_first(), and Aleph::Path< GT >::is_empty().
| TEST_F | ( | FindPathTest | , |
| DFS_PathToSelf | |||
| ) |
Definition at line 83 of file find_path_test.cc.
| TEST_F | ( | FindPathTest | , |
| DFS_PredicateNotSatisfied | |||
| ) |
Definition at line 140 of file find_path_test.cc.
References nodes.
| TEST_F | ( | FindPathTest | , |
| DFS_SimplePath | |||
| ) |
Definition at line 69 of file find_path_test.cc.
References Aleph::Path< GT >::is_empty(), nodes, and Aleph::Path< GT >::size().
| TEST_F | ( | FindPathTest | , |
| DFS_WithPredicate | |||
| ) |
Definition at line 128 of file find_path_test.cc.
References nodes.
| TEST_F | ( | FindPathTest | , |
| DirectedBFS | |||
| ) |
Definition at line 334 of file find_path_test.cc.
References Aleph::Directed_Find_Path< GT, Itor, SA >::bfs().
| TEST_F | ( | FindPathTest | , |
| DirectedDFS | |||
| ) |
Definition at line 315 of file find_path_test.cc.
References Aleph::Directed_Find_Path< GT, Itor, SA >::dfs().
| TEST_F | ( | FindPathTest | , |
| DirectedNoPath | |||
| ) |
Definition at line 352 of file find_path_test.cc.
References Aleph::Directed_Find_Path< GT, Itor, SA >::dfs().
| TEST_F | ( | FindPathTest | , |
| DirectedPathToSelf | |||
| ) |
Definition at line 370 of file find_path_test.cc.
References Aleph::Directed_Find_Path< GT, Itor, SA >::bfs(), and Aleph::Directed_Find_Path< GT, Itor, SA >::dfs().
| TEST_F | ( | FindPathTest | , |
| DirectedWithPredicate | |||
| ) |
Definition at line 397 of file find_path_test.cc.
References Aleph::Directed_Find_Path< GT, Itor, SA >::dfs().
| TEST_F | ( | FindPathTest | , |
| LargeCompleteGraph | |||
| ) |
Definition at line 430 of file find_path_test.cc.
References nodes.
| TEST_F | ( | FindPathTest | , |
| LargeLinearGraph | |||
| ) |
Definition at line 419 of file find_path_test.cc.
References nodes.
| TEST_F | ( | FindPathTest | , |
| MultiplePaths_FindsOne | |||
| ) |
Definition at line 504 of file find_path_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), and Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node().
| TEST_F | ( | FindPathTest | , |
| SingleNode | |||
| ) |
Definition at line 445 of file find_path_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node().
| TEST_F | ( | FindPathTest | , |
| StartThatMeetsTheCriterion | |||
| ) |
Definition at line 188 of file find_path_test.cc.
References nodes.
| TEST_F | ( | FindPathTest | , |
| TwoNodesConnected | |||
| ) |
Definition at line 455 of file find_path_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), and Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node().
| TEST_F | ( | FindPathTest | , |
| TwoNodesDisconnected | |||
| ) |
Definition at line 468 of file find_path_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node().
| TEST_F | ( | FindPathTest | , |
| WhatTheFilterThrowsReachesTheCaller | |||
| ) |
Definition at line 230 of file find_path_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), and Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node().