Aleph-w 3.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 <string>
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, 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)
 

Detailed Description

Tests for Tpl Agraph.

Definition in file tpl_agraph_test.cc.

Function Documentation

◆ TEST() [1/42]

TEST ( ArrayDigraph  ,
BidirectionalArcs   
)

Definition at line 236 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [2/42]

TEST ( ArrayDigraph  ,
DirectedArcAsymmetry   
)

Definition at line 223 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [3/42]

TEST ( ArrayDigraph  ,
IsDirected   
)

Definition at line 217 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [4/42]

TEST ( ArrayDigraph  ,
LargeDigraph   
)

Definition at line 497 of file tpl_agraph_test.cc.

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

◆ TEST() [5/42]

◆ TEST() [6/42]

TEST ( ArrayGraph  ,
CopyAssignment   
)

Definition at line 348 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [7/42]

TEST ( ArrayGraph  ,
CopyConstruction   
)

Definition at line 323 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [8/42]

◆ TEST() [9/42]

◆ TEST() [10/42]

◆ TEST() [11/42]

◆ TEST() [12/42]

TEST ( ArrayGraph  ,
EmptyGraphIterators   
)

Definition at line 553 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [13/42]

◆ TEST() [14/42]

◆ TEST() [15/42]

◆ TEST() [16/42]

◆ TEST() [17/42]

TEST ( ArrayGraph  ,
MoveAssignment   
)

Definition at line 362 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [18/42]

TEST ( ArrayGraph  ,
MoveConstruction   
)

Definition at line 336 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [19/42]

◆ TEST() [20/42]

◆ TEST() [21/42]

TEST ( ArrayGraph  ,
NodeIterator   
)

◆ TEST() [22/42]

◆ TEST() [23/42]

◆ TEST() [24/42]

◆ TEST() [25/42]

◆ TEST() [26/42]

◆ TEST() [27/42]

◆ TEST() [28/42]

◆ TEST() [29/42]

◆ TEST() [30/42]

◆ TEST() [31/42]

TEST ( DigraphWrapper  ,
ArrayDigraphAssignmentPreservesDirectedFlag   
)

Definition at line 640 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [32/42]

TEST ( DigraphWrapper  ,
ArrayDigraphCopyPreservesDirectedFlag   
)

Definition at line 618 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [33/42]

TEST ( DigraphWrapper  ,
ArrayDigraphInheritsFromBaseGraph   
)

Definition at line 603 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [34/42]

TEST ( DigraphWrapper  ,
ArrayDigraphMoveAssignment   
)

Definition at line 653 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [35/42]

TEST ( DigraphWrapper  ,
ArrayDigraphMovePreservesDirectedFlag   
)

Definition at line 629 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [36/42]

TEST ( GraphAarc  ,
ConstructionWithInfo   
)

Definition at line 97 of file tpl_agraph_test.cc.

References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().

◆ TEST() [37/42]

TEST ( GraphAarc  ,
CopyConstruction   
)

Definition at line 103 of file tpl_agraph_test.cc.

References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().

◆ TEST() [38/42]

TEST ( GraphAarc  ,
DefaultConstruction   
)

Definition at line 91 of file tpl_agraph_test.cc.

References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().

◆ TEST() [39/42]

TEST ( GraphAnode  ,
ConstructionWithInfo   
)

◆ TEST() [40/42]

TEST ( GraphAnode  ,
CopyConstruction   
)

Definition at line 72 of file tpl_agraph_test.cc.

References Aleph::maps().

◆ TEST() [41/42]

TEST ( GraphAnode  ,
DefaultConstruction   
)

◆ TEST() [42/42]

TEST ( GraphAnode  ,
MoveConstruction   
)

Definition at line 80 of file tpl_agraph_test.cc.

References Aleph::maps().