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

Tests for Tpl Agraph. More...

#include <gtest/gtest.h>
#include <tpl_agraph.H>
#include <random>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for tpl_agraph_test.cc:

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, NodeArcIteratorDoesWhatTheArrayIteratorDid)
 
 TEST (ArrayGraph, FilteredNodeArcIteratorGoesBothWays)
 
 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, GetFirstNodeArcOfAnEmptyGraphThrows)
 
 TEST (ArrayGraph, CompressesNodesWithoutArcs)
 
 TEST (ArrayGraph, RemovingEveryArcOfANodeAndInsertingAgain)
 
 TEST (ArrayGraph, StringNodeInfo)
 
 TEST (DigraphWrapper, ArrayDigraphInheritsFromBaseGraph)
 
 TEST (DigraphWrapper, ArrayDigraphCopyPreservesDirectedFlag)
 
 TEST (DigraphWrapper, ArrayDigraphMovePreservesDirectedFlag)
 
 TEST (DigraphWrapper, ArrayDigraphAssignmentPreservesDirectedFlag)
 
 TEST (DigraphWrapper, ArrayDigraphMoveAssignment)
 
 TEST (ConceptsTest, ArrayGraphIteratorsSatisfyConcepts)
 

Detailed Description

Tests for Tpl Agraph.

Definition in file tpl_agraph_test.cc.

Function Documentation

◆ TEST() [1/47]

TEST ( ArrayDigraph  ,
BidirectionalArcs   
)

Definition at line 239 of file tpl_agraph_test.cc.

◆ TEST() [2/47]

TEST ( ArrayDigraph  ,
DirectedArcAsymmetry   
)

Definition at line 226 of file tpl_agraph_test.cc.

◆ TEST() [3/47]

TEST ( ArrayDigraph  ,
IsDirected   
)

Definition at line 220 of file tpl_agraph_test.cc.

◆ TEST() [4/47]

TEST ( ArrayDigraph  ,
LargeDigraph   
)

Definition at line 649 of file tpl_agraph_test.cc.

References N, and nodes.

◆ TEST() [5/47]

◆ TEST() [6/47]

◆ TEST() [7/47]

◆ TEST() [8/47]

◆ TEST() [9/47]

◆ TEST() [10/47]

◆ TEST() [11/47]

◆ TEST() [12/47]

◆ TEST() [13/47]

TEST ( ArrayGraph  ,
EmptyGraphIterators   
)

Definition at line 705 of file tpl_agraph_test.cc.

◆ TEST() [14/47]

◆ TEST() [15/47]

◆ TEST() [16/47]

◆ TEST() [17/47]

◆ TEST() [18/47]

◆ TEST() [19/47]

◆ TEST() [20/47]

◆ TEST() [21/47]

TEST ( ArrayGraph  ,
MoveConstruction   
)

◆ TEST() [22/47]

◆ TEST() [23/47]

◆ TEST() [24/47]

◆ TEST() [25/47]

TEST ( ArrayGraph  ,
NodeIterator   
)

◆ TEST() [26/47]

◆ TEST() [27/47]

◆ TEST() [28/47]

TEST ( ArrayGraph  ,
RemovingEveryArcOfANodeAndInsertingAgain   
)

Definition at line 769 of file tpl_agraph_test.cc.

References arcs.

◆ TEST() [29/47]

◆ TEST() [30/47]

◆ TEST() [31/47]

◆ TEST() [32/47]

◆ TEST() [33/47]

◆ TEST() [34/47]

◆ TEST() [35/47]

◆ TEST() [36/47]

TEST ( DigraphWrapper  ,
ArrayDigraphAssignmentPreservesDirectedFlag   
)

Definition at line 847 of file tpl_agraph_test.cc.

◆ TEST() [37/47]

TEST ( DigraphWrapper  ,
ArrayDigraphCopyPreservesDirectedFlag   
)

Definition at line 825 of file tpl_agraph_test.cc.

◆ TEST() [38/47]

TEST ( DigraphWrapper  ,
ArrayDigraphInheritsFromBaseGraph   
)

Definition at line 810 of file tpl_agraph_test.cc.

◆ TEST() [39/47]

TEST ( DigraphWrapper  ,
ArrayDigraphMoveAssignment   
)

Definition at line 860 of file tpl_agraph_test.cc.

◆ TEST() [40/47]

TEST ( DigraphWrapper  ,
ArrayDigraphMovePreservesDirectedFlag   
)

Definition at line 836 of file tpl_agraph_test.cc.

◆ TEST() [41/47]

TEST ( GraphAarc  ,
ConstructionWithInfo   
)

Definition at line 100 of file tpl_agraph_test.cc.

References GTArcCommon< ArcInfo >::get_info().

◆ TEST() [42/47]

TEST ( GraphAarc  ,
CopyConstruction   
)

Definition at line 106 of file tpl_agraph_test.cc.

References GTArcCommon< ArcInfo >::get_info().

◆ TEST() [43/47]

TEST ( GraphAarc  ,
DefaultConstruction   
)

Definition at line 94 of file tpl_agraph_test.cc.

References GTArcCommon< ArcInfo >::get_info().

◆ TEST() [44/47]

TEST ( GraphAnode  ,
ConstructionWithInfo   
)

◆ TEST() [45/47]

TEST ( GraphAnode  ,
CopyConstruction   
)

◆ TEST() [46/47]

TEST ( GraphAnode  ,
DefaultConstruction   
)

◆ TEST() [47/47]

TEST ( GraphAnode  ,
MoveConstruction   
)

Definition at line 83 of file tpl_agraph_test.cc.

References GTNodeCommon< NodeInfo >::get_info().