|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Tpl Sgraph. More...
Go to the source code of this file.
Functions | |
| TEST (GraphSnode, DefaultConstruction) | |
| TEST (GraphSnode, ConstructionWithInfo) | |
| TEST (GraphSnode, CopyConstruction) | |
| TEST (GraphSnode, MoveConstruction) | |
| TEST (GraphSnode, CopyAssignment) | |
| TEST (GraphSnode, SelfAssignment) | |
| TEST (GraphSnode, ConstructionFromPointer) | |
| TEST (GraphSarc, DefaultConstruction) | |
| TEST (GraphSarc, ConstructionWithInfo) | |
| TEST (GraphSarc, CopyConstruction) | |
| TEST (GraphSarc, CopyAssignment) | |
| TEST (GraphSarc, SelfAssignment) | |
| TEST (GraphSarc, ConstructionWithEndpoints) | |
| TEST (ListSGraph, DefaultConstruction) | |
| TEST (ListSGraph, InsertNode) | |
| TEST (ListSGraph, InsertArc) | |
| TEST (ListSGraph, UndirectedArcSymmetry) | |
| TEST (ListSGraph, RemoveArc) | |
| TEST (ListSGraph, RemoveNode) | |
| TEST (ListSGraph, MultipleArcs) | |
| TEST (ListSDigraph, IsDirected) | |
| TEST (ListSDigraph, DirectedArcAsymmetry) | |
| TEST (ListSDigraph, BidirectionalArcs) | |
| TEST (ListSGraph, NodeIterator) | |
| TEST (ListSGraph, ArcIterator) | |
| TEST (ListSGraph, NodeArcIterator) | |
| TEST (ListSGraph, NodeArcIteratorGetTgtNode) | |
| TEST (ListSGraph, ArcIteratorGetEndpoints) | |
| TEST (ListSGraph, CopyConstruction) | |
| TEST (ListSGraph, MoveConstruction) | |
| TEST (ListSGraph, CopyAssignment) | |
| TEST (ListSGraph, SelfAssignment) | |
| TEST (ListSGraph, MoveAssignment) | |
| TEST (ListSDigraph, CopyConstruction) | |
| TEST (ListSDigraph, MoveConstruction) | |
| TEST (ListSDigraph, CopyAssignment) | |
| TEST (ListSDigraph, MoveAssignment) | |
| TEST (ListSGraph, LargeGraph) | |
| TEST (ListSDigraph, LargeDigraph) | |
| TEST (ListSGraph, SelfLoop) | |
| TEST (ListSDigraph, SelfLoop) | |
| TEST (ListSGraph, EmptyGraphIterators) | |
| TEST (ListSGraph, GetFirstNodeArc) | |
| TEST (ListSGraph, GetFirstArcNodeThrowsWhenEmpty) | |
| TEST (ListSGraph, RemoveAllNodes) | |
| TEST (ListSGraph, SwapGraphs) | |
| TEST (ListSGraph, StringNodeInfo) | |
| TEST (ListSGraph, NodeIteratorCurrentNode) | |
| TEST (ListSGraph, NodeArcIteratorCurrentArc) | |
| TEST (ListSGraph, ArcIteratorCurrentArc) | |
| TEST (ListSGraph, ComplexOperations) | |
| TEST (DigraphWrapper, DigraphInheritsFromBaseGraph) | |
| TEST (DigraphWrapper, DigraphCopyPreservesDirectedFlag) | |
| TEST (DigraphWrapper, DigraphMovePreservesDirectedFlag) | |
| TEST (DigraphWrapper, DigraphCopyAssignmentPreservesDirectedFlag) | |
| TEST (DigraphWrapper, DigraphMoveAssignmentPreservesDirectedFlag) | |
| TEST (DigraphWrapper, DigraphSelfAssignment) | |
| TEST (DigraphWrapper, DirectedArcNotVisibleFromTarget) | |
| TEST (ConceptsTest, SGraphIteratorsSatisfyConcepts) | |
Tests for Tpl Sgraph.
Definition in file tpl_sgraph_test.cc.
| TEST | ( | ConceptsTest | , |
| SGraphIteratorsSatisfyConcepts | |||
| ) |
| TEST | ( | DigraphWrapper | , |
| DigraphCopyAssignmentPreservesDirectedFlag | |||
| ) |
Definition at line 800 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | DigraphWrapper | , |
| DigraphCopyPreservesDirectedFlag | |||
| ) |
Definition at line 776 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | DigraphWrapper | , |
| DigraphInheritsFromBaseGraph | |||
| ) |
Definition at line 759 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | DigraphWrapper | , |
| DigraphMoveAssignmentPreservesDirectedFlag | |||
| ) |
Definition at line 814 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | DigraphWrapper | , |
| DigraphMovePreservesDirectedFlag | |||
| ) |
Definition at line 788 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | DigraphWrapper | , |
| DigraphSelfAssignment | |||
| ) |
Definition at line 827 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | DigraphWrapper | , |
| DirectedArcNotVisibleFromTarget | |||
| ) |
Definition at line 841 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | GraphSarc | , |
| ConstructionWithEndpoints | |||
| ) |
Definition at line 147 of file tpl_sgraph_test.cc.
References GTArcCommon< ArcInfo >::get_info(), Aleph::maps(), GTArcCommon< ArcInfo >::src_node, and GTArcCommon< ArcInfo >::tgt_node.
| TEST | ( | GraphSarc | , |
| ConstructionWithInfo | |||
| ) |
Definition at line 119 of file tpl_sgraph_test.cc.
References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().
| TEST | ( | GraphSarc | , |
| CopyAssignment | |||
| ) |
Definition at line 132 of file tpl_sgraph_test.cc.
References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().
| TEST | ( | GraphSarc | , |
| CopyConstruction | |||
| ) |
Definition at line 125 of file tpl_sgraph_test.cc.
References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().
| TEST | ( | GraphSarc | , |
| DefaultConstruction | |||
| ) |
Definition at line 113 of file tpl_sgraph_test.cc.
References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().
| TEST | ( | GraphSarc | , |
| SelfAssignment | |||
| ) |
Definition at line 140 of file tpl_sgraph_test.cc.
References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().
| TEST | ( | GraphSnode | , |
| ConstructionFromPointer | |||
| ) |
Definition at line 102 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | GraphSnode | , |
| ConstructionWithInfo | |||
| ) |
Definition at line 64 of file tpl_sgraph_test.cc.
References Aleph::Graph_Snode< Node_Info >::arc_list, GTNodeCommon< NodeInfo >::get_info(), Aleph::HTList::is_empty(), Aleph::maps(), and GTNodeCommon< NodeInfo >::num_arcs.
| TEST | ( | GraphSnode | , |
| CopyAssignment | |||
| ) |
Definition at line 87 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | GraphSnode | , |
| CopyConstruction | |||
| ) |
Definition at line 72 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | GraphSnode | , |
| DefaultConstruction | |||
| ) |
Definition at line 57 of file tpl_sgraph_test.cc.
References Aleph::Graph_Snode< Node_Info >::arc_list, Aleph::HTList::is_empty(), Aleph::maps(), and GTNodeCommon< NodeInfo >::num_arcs.
| TEST | ( | GraphSnode | , |
| MoveConstruction | |||
| ) |
Definition at line 80 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | GraphSnode | , |
| SelfAssignment | |||
| ) |
Definition at line 95 of file tpl_sgraph_test.cc.
References GTNodeCommon< NodeInfo >::get_info(), and Aleph::maps().
| TEST | ( | ListSDigraph | , |
| BidirectionalArcs | |||
| ) |
Definition at line 282 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSDigraph | , |
| CopyAssignment | |||
| ) |
Definition at line 494 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSDigraph | , |
| CopyConstruction | |||
| ) |
Definition at line 468 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSDigraph | , |
| DirectedArcAsymmetry | |||
| ) |
Definition at line 269 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSDigraph | , |
| IsDirected | |||
| ) |
Definition at line 263 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSDigraph | , |
| LargeDigraph | |||
| ) |
Definition at line 546 of file tpl_sgraph_test.cc.
References Aleph::maps(), N, and nodes.
| TEST | ( | ListSDigraph | , |
| MoveAssignment | |||
| ) |
Definition at line 509 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSDigraph | , |
| MoveConstruction | |||
| ) |
Definition at line 482 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSDigraph | , |
| SelfLoop | |||
| ) |
Definition at line 581 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSGraph | , |
| ArcIterator | |||
| ) |
Definition at line 319 of file tpl_sgraph_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 | ( | ListSGraph | , |
| ArcIteratorCurrentArc | |||
| ) |
Definition at line 702 of file tpl_sgraph_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 | ( | ListSGraph | , |
| ArcIteratorGetEndpoints | |||
| ) |
Definition at line 387 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSGraph | , |
| ComplexOperations | |||
| ) |
Definition at line 719 of file tpl_sgraph_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_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::remove_node(), and GraphCommon< GT, Node, Arc >::vsize().
| TEST | ( | ListSGraph | , |
| CopyAssignment | |||
| ) |
Definition at line 430 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSGraph | , |
| CopyConstruction | |||
| ) |
Definition at line 405 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSGraph | , |
| DefaultConstruction | |||
| ) |
Definition at line 160 of file tpl_sgraph_test.cc.
References GraphCommon< GT, Node, Arc >::esize(), GraphCommon< GT, Node, Arc >::is_digraph(), Aleph::maps(), and GraphCommon< GT, Node, Arc >::vsize().
| TEST | ( | ListSGraph | , |
| EmptyGraphIterators | |||
| ) |
Definition at line 594 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSGraph | , |
| GetFirstArcNodeThrowsWhenEmpty | |||
| ) |
Definition at line 621 of file tpl_sgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::get_first_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().
| TEST | ( | ListSGraph | , |
| GetFirstNodeArc | |||
| ) |
Definition at line 609 of file tpl_sgraph_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 | ( | ListSGraph | , |
| InsertArc | |||
| ) |
Definition at line 181 of file tpl_sgraph_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 | ( | ListSGraph | , |
| InsertNode | |||
| ) |
Definition at line 168 of file tpl_sgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and GraphCommon< GT, Node, Arc >::vsize().
| TEST | ( | ListSGraph | , |
| LargeGraph | |||
| ) |
Definition at line 526 of file tpl_sgraph_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 | ( | ListSGraph | , |
| MoveAssignment | |||
| ) |
Definition at line 455 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSGraph | , |
| MoveConstruction | |||
| ) |
Definition at line 418 of file tpl_sgraph_test.cc.
References Aleph::maps().
| TEST | ( | ListSGraph | , |
| MultipleArcs | |||
| ) |
Definition at line 241 of file tpl_sgraph_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 | ( | ListSGraph | , |
| NodeArcIterator | |||
| ) |
Definition at line 341 of file tpl_sgraph_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 | ( | ListSGraph | , |
| NodeArcIteratorCurrentArc | |||
| ) |
Definition at line 689 of file tpl_sgraph_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 | ( | ListSGraph | , |
| NodeArcIteratorGetTgtNode | |||
| ) |
| TEST | ( | ListSGraph | , |
| NodeIterator | |||
| ) |
Definition at line 300 of file tpl_sgraph_test.cc.
References Aleph::count(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::sum().
| TEST | ( | ListSGraph | , |
| NodeIteratorCurrentNode | |||
| ) |
Definition at line 678 of file tpl_sgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().
| TEST | ( | ListSGraph | , |
| RemoveAllNodes | |||
| ) |
Definition at line 629 of file tpl_sgraph_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 | ( | ListSGraph | , |
| RemoveArc | |||
| ) |
Definition at line 208 of file tpl_sgraph_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 | ( | ListSGraph | , |
| RemoveNode | |||
| ) |
Definition at line 222 of file tpl_sgraph_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 | ( | ListSGraph | , |
| SelfAssignment | |||
| ) |
Definition at line 444 of file tpl_sgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and GraphCommon< GT, Node, Arc >::vsize().
| TEST | ( | ListSGraph | , |
| SelfLoop | |||
| ) |
Definition at line 568 of file tpl_sgraph_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 | ( | ListSGraph | , |
| StringNodeInfo | |||
| ) |
Definition at line 662 of file tpl_sgraph_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 | ( | ListSGraph | , |
| SwapGraphs | |||
| ) |
Definition at line 643 of file tpl_sgraph_test.cc.
References Aleph::maps(), and Aleph::DynList< T >::swap().
| TEST | ( | ListSGraph | , |
| UndirectedArcSymmetry | |||
| ) |
Definition at line 195 of file tpl_sgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().