Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
tpl_sgraph_test.cc File Reference

Tests for Tpl Sgraph. More...

#include <gtest/gtest.h>
#include <tpl_sgraph.H>
#include <string>
#include <vector>
Include dependency graph for tpl_sgraph_test.cc:

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)
 

Detailed Description

Tests for Tpl Sgraph.

Definition in file tpl_sgraph_test.cc.

Function Documentation

◆ TEST() [1/59]

◆ TEST() [2/59]

TEST ( DigraphWrapper  ,
DigraphCopyAssignmentPreservesDirectedFlag   
)

Definition at line 800 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [3/59]

TEST ( DigraphWrapper  ,
DigraphCopyPreservesDirectedFlag   
)

Definition at line 776 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [4/59]

TEST ( DigraphWrapper  ,
DigraphInheritsFromBaseGraph   
)

Definition at line 759 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [5/59]

TEST ( DigraphWrapper  ,
DigraphMoveAssignmentPreservesDirectedFlag   
)

Definition at line 814 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [6/59]

TEST ( DigraphWrapper  ,
DigraphMovePreservesDirectedFlag   
)

Definition at line 788 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [7/59]

TEST ( DigraphWrapper  ,
DigraphSelfAssignment   
)

Definition at line 827 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [8/59]

TEST ( DigraphWrapper  ,
DirectedArcNotVisibleFromTarget   
)

Definition at line 841 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [9/59]

TEST ( GraphSarc  ,
ConstructionWithEndpoints   
)

◆ TEST() [10/59]

TEST ( GraphSarc  ,
ConstructionWithInfo   
)

◆ TEST() [11/59]

TEST ( GraphSarc  ,
CopyAssignment   
)

◆ TEST() [12/59]

TEST ( GraphSarc  ,
CopyConstruction   
)

◆ TEST() [13/59]

TEST ( GraphSarc  ,
DefaultConstruction   
)

◆ TEST() [14/59]

TEST ( GraphSarc  ,
SelfAssignment   
)

◆ TEST() [15/59]

TEST ( GraphSnode  ,
ConstructionFromPointer   
)

Definition at line 102 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [16/59]

◆ TEST() [17/59]

TEST ( GraphSnode  ,
CopyAssignment   
)

Definition at line 87 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [18/59]

TEST ( GraphSnode  ,
CopyConstruction   
)

Definition at line 72 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [19/59]

◆ TEST() [20/59]

TEST ( GraphSnode  ,
MoveConstruction   
)

Definition at line 80 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [21/59]

TEST ( GraphSnode  ,
SelfAssignment   
)

◆ TEST() [22/59]

TEST ( ListSDigraph  ,
BidirectionalArcs   
)

Definition at line 282 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [23/59]

TEST ( ListSDigraph  ,
CopyAssignment   
)

Definition at line 494 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [24/59]

TEST ( ListSDigraph  ,
CopyConstruction   
)

Definition at line 468 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [25/59]

TEST ( ListSDigraph  ,
DirectedArcAsymmetry   
)

Definition at line 269 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [26/59]

TEST ( ListSDigraph  ,
IsDirected   
)

Definition at line 263 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [27/59]

TEST ( ListSDigraph  ,
LargeDigraph   
)

Definition at line 546 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp(), N, and nodes.

◆ TEST() [28/59]

TEST ( ListSDigraph  ,
MoveAssignment   
)

Definition at line 509 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [29/59]

TEST ( ListSDigraph  ,
MoveConstruction   
)

Definition at line 482 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [30/59]

TEST ( ListSDigraph  ,
SelfLoop   
)

Definition at line 581 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [31/59]

◆ TEST() [32/59]

◆ TEST() [33/59]

TEST ( ListSGraph  ,
ArcIteratorGetEndpoints   
)

Definition at line 387 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [34/59]

◆ TEST() [35/59]

TEST ( ListSGraph  ,
CopyAssignment   
)

◆ TEST() [36/59]

TEST ( ListSGraph  ,
CopyConstruction   
)

◆ TEST() [37/59]

◆ TEST() [38/59]

TEST ( ListSGraph  ,
EmptyGraphIterators   
)

Definition at line 594 of file tpl_sgraph_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [39/59]

◆ TEST() [40/59]

◆ TEST() [41/59]

◆ TEST() [42/59]

◆ TEST() [43/59]

◆ TEST() [44/59]

TEST ( ListSGraph  ,
MoveAssignment   
)

◆ TEST() [45/59]

TEST ( ListSGraph  ,
MoveConstruction   
)

◆ TEST() [46/59]

◆ TEST() [47/59]

◆ TEST() [48/59]

◆ TEST() [49/59]

◆ TEST() [50/59]

◆ TEST() [51/59]

TEST ( ListSGraph  ,
NodeIteratorCurrentNode   
)

◆ TEST() [52/59]

◆ TEST() [53/59]

◆ TEST() [54/59]

◆ TEST() [55/59]

◆ TEST() [56/59]

◆ TEST() [57/59]

◆ TEST() [58/59]

◆ TEST() [59/59]