|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Tpl Agraph. More...
Go to the source code of this file.
Functions | |
| TEST (GraphAnode, DefaultConstruction) | |
| TEST (GraphAnode, ConstructionWithInfo) | |
| TEST (GraphAnode, CopyConstruction) | |
| TEST (GraphAnode, MoveConstruction) | |
| TEST (GraphAarc, DefaultConstruction) | |
| TEST (GraphAarc, ConstructionWithInfo) | |
| TEST (GraphAarc, CopyConstruction) | |
| TEST (ArrayGraph, DefaultConstruction) | |
| TEST (ArrayGraph, InsertNode) | |
| TEST (ArrayGraph, InsertArc) | |
| TEST (ArrayGraph, UndirectedArcSymmetry) | |
| TEST (ArrayGraph, RemoveArc) | |
| TEST (ArrayGraph, RemoveNode) | |
| TEST (ArrayGraph, MultipleArcs) | |
| TEST (ArrayDigraph, IsDirected) | |
| TEST (ArrayDigraph, DirectedArcAsymmetry) | |
| TEST (ArrayDigraph, BidirectionalArcs) | |
| TEST (ArrayGraph, NodeIterator) | |
| TEST (ArrayGraph, ArcIterator) | |
| TEST (ArrayGraph, NodeArcIterator) | |
| TEST (ArrayGraph, CopyConstruction) | |
| TEST (ArrayGraph, MoveConstruction) | |
| TEST (ArrayGraph, CopyAssignment) | |
| TEST (ArrayGraph, MoveAssignment) | |
| TEST (ArrayGraph, SelfAssignment) | |
| TEST (ArrayGraph, DeepCopyVerification) | |
| TEST (ArrayGraph, CopyToNonEmptyGraph) | |
| TEST (ArrayGraph, SortNodes) | |
| TEST (ArrayGraph, SortArcs) | |
| TEST (ArrayGraph, LargeGraph) | |
| TEST (ArrayDigraph, LargeDigraph) | |
| TEST (ArrayGraph, SelfLoop) | |
| TEST (ArrayGraph, DisconnectReconnectArc) | |
| TEST (ArrayGraph, EmptyGraphIterators) | |
| TEST (ArrayGraph, GetFirstNodeArc) | |
| TEST (ArrayGraph, StringNodeInfo) | |
| TEST (DigraphWrapper, ArrayDigraphInheritsFromBaseGraph) | |
| TEST (DigraphWrapper, ArrayDigraphCopyPreservesDirectedFlag) | |
| TEST (DigraphWrapper, ArrayDigraphMovePreservesDirectedFlag) | |
| TEST (DigraphWrapper, ArrayDigraphAssignmentPreservesDirectedFlag) | |
| TEST (DigraphWrapper, ArrayDigraphMoveAssignment) | |
| TEST (ConceptsTest, ArrayGraphIteratorsSatisfyConcepts) | |
Tests for Tpl Agraph.
Definition in file tpl_agraph_test.cc.
| TEST | ( | ArrayDigraph | , |
| BidirectionalArcs | |||
| ) |
Definition at line 236 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | ArrayDigraph | , |
| DirectedArcAsymmetry | |||
| ) |
Definition at line 223 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | ArrayDigraph | , |
| IsDirected | |||
| ) |
Definition at line 217 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | ArrayDigraph | , |
| LargeDigraph | |||
| ) |
Definition at line 497 of file tpl_agraph_test.cc.
References Aleph::maps(), N, and nodes.
| TEST | ( | ArrayGraph | , |
| ArcIterator | |||
| ) |
Definition at line 273 of file tpl_agraph_test.cc.
References Aleph::count(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::sum().
| TEST | ( | ArrayGraph | , |
| CopyAssignment | |||
| ) |
Definition at line 348 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | ArrayGraph | , |
| CopyConstruction | |||
| ) |
Definition at line 323 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | ArrayGraph | , |
| CopyToNonEmptyGraph | |||
| ) |
| TEST | ( | ArrayGraph | , |
| DeepCopyVerification | |||
| ) |
| TEST | ( | ArrayGraph | , |
| DefaultConstruction | |||
| ) |
Definition at line 114 of file tpl_agraph_test.cc.
References GraphCommon< GT, Node, Arc >::esize(), GraphCommon< GT, Node, Arc >::is_digraph(), Aleph::maps(), and GraphCommon< GT, Node, Arc >::vsize().
| TEST | ( | ArrayGraph | , |
| DisconnectReconnectArc | |||
| ) |
Definition at line 532 of file tpl_agraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::connect_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::disconnect_arc(), GraphCommon< GT, Node, Arc >::esize(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::List_Graph< _Graph_Node, _Graph_Arc >::remove_arc().
| TEST | ( | ArrayGraph | , |
| EmptyGraphIterators | |||
| ) |
Definition at line 553 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | ArrayGraph | , |
| GetFirstNodeArc | |||
| ) |
Definition at line 568 of file tpl_agraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::get_first_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::get_first_node(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().
| TEST | ( | ArrayGraph | , |
| InsertArc | |||
| ) |
Definition at line 135 of file tpl_agraph_test.cc.
References GraphCommon< GT, Node, Arc >::esize(), GraphCommon< GT, Node, Arc >::get_src_node(), GraphCommon< GT, Node, Arc >::get_tgt_node(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().
| TEST | ( | ArrayGraph | , |
| InsertNode | |||
| ) |
Definition at line 122 of file tpl_agraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and GraphCommon< GT, Node, Arc >::vsize().
| TEST | ( | ArrayGraph | , |
| LargeGraph | |||
| ) |
Definition at line 477 of file tpl_agraph_test.cc.
References GraphCommon< GT, Node, Arc >::esize(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), N, nodes, and GraphCommon< GT, Node, Arc >::vsize().
| TEST | ( | ArrayGraph | , |
| MoveAssignment | |||
| ) |
Definition at line 362 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | ArrayGraph | , |
| MoveConstruction | |||
| ) |
Definition at line 336 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | ArrayGraph | , |
| MultipleArcs | |||
| ) |
Definition at line 195 of file tpl_agraph_test.cc.
References GraphCommon< GT, Node, Arc >::esize(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().
| TEST | ( | ArrayGraph | , |
| NodeArcIterator | |||
| ) |
Definition at line 295 of file tpl_agraph_test.cc.
References Aleph::count(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::sum().
| TEST | ( | ArrayGraph | , |
| NodeIterator | |||
| ) |
Definition at line 254 of file tpl_agraph_test.cc.
References Aleph::count(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::sum().
| TEST | ( | ArrayGraph | , |
| RemoveArc | |||
| ) |
Definition at line 162 of file tpl_agraph_test.cc.
References GraphCommon< GT, Node, Arc >::esize(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::List_Graph< _Graph_Node, _Graph_Arc >::remove_arc().
| TEST | ( | ArrayGraph | , |
| RemoveNode | |||
| ) |
Definition at line 176 of file tpl_agraph_test.cc.
References GraphCommon< GT, Node, Arc >::esize(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::remove_node(), and GraphCommon< GT, Node, Arc >::vsize().
| TEST | ( | ArrayGraph | , |
| SelfAssignment | |||
| ) |
| TEST | ( | ArrayGraph | , |
| SelfLoop | |||
| ) |
Definition at line 519 of file tpl_agraph_test.cc.
References GraphCommon< GT, Node, Arc >::esize(), GraphCommon< GT, Node, Arc >::get_src_node(), GraphCommon< GT, Node, Arc >::get_tgt_node(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().
| TEST | ( | ArrayGraph | , |
| SortArcs | |||
| ) |
Definition at line 452 of file tpl_agraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and GraphCommon< GT, Node, Arc >::sort_arcs().
| TEST | ( | ArrayGraph | , |
| SortNodes | |||
| ) |
Definition at line 434 of file tpl_agraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and GraphCommon< GT, Node, Arc >::sort_nodes().
| TEST | ( | ArrayGraph | , |
| StringNodeInfo | |||
| ) |
Definition at line 584 of file tpl_agraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().
| TEST | ( | ArrayGraph | , |
| UndirectedArcSymmetry | |||
| ) |
Definition at line 149 of file tpl_agraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().
| TEST | ( | ConceptsTest | , |
| ArrayGraphIteratorsSatisfyConcepts | |||
| ) |
| TEST | ( | DigraphWrapper | , |
| ArrayDigraphAssignmentPreservesDirectedFlag | |||
| ) |
Definition at line 640 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | DigraphWrapper | , |
| ArrayDigraphCopyPreservesDirectedFlag | |||
| ) |
Definition at line 618 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | DigraphWrapper | , |
| ArrayDigraphInheritsFromBaseGraph | |||
| ) |
Definition at line 603 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | DigraphWrapper | , |
| ArrayDigraphMoveAssignment | |||
| ) |
Definition at line 653 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | DigraphWrapper | , |
| ArrayDigraphMovePreservesDirectedFlag | |||
| ) |
Definition at line 629 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | GraphAarc | , |
| ConstructionWithInfo | |||
| ) |
Definition at line 97 of file tpl_agraph_test.cc.
References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().
| TEST | ( | GraphAarc | , |
| CopyConstruction | |||
| ) |
Definition at line 103 of file tpl_agraph_test.cc.
References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().
| TEST | ( | GraphAarc | , |
| DefaultConstruction | |||
| ) |
Definition at line 91 of file tpl_agraph_test.cc.
References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().
| TEST | ( | GraphAnode | , |
| ConstructionWithInfo | |||
| ) |
Definition at line 64 of file tpl_agraph_test.cc.
References Aleph::Graph_Anode< Node_Info >::arcs_dim, GTNodeCommon< NodeInfo >::get_info(), Aleph::maps(), and GTNodeCommon< NodeInfo >::num_arcs.
| TEST | ( | GraphAnode | , |
| CopyConstruction | |||
| ) |
Definition at line 72 of file tpl_agraph_test.cc.
References Aleph::maps().
| TEST | ( | GraphAnode | , |
| DefaultConstruction | |||
| ) |
Definition at line 56 of file tpl_agraph_test.cc.
References Aleph::Graph_Anode< Node_Info >::arc_array, Aleph::Graph_Anode< Node_Info >::arcs_dim, Aleph::maps(), and GTNodeCommon< NodeInfo >::num_arcs.
| TEST | ( | GraphAnode | , |
| MoveConstruction | |||
| ) |
Definition at line 80 of file tpl_agraph_test.cc.
References Aleph::maps().