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

Comprehensive unit tests for io_graph.H. More...

#include <gtest/gtest.h>
#include <sstream>
#include <cstdio>
#include <algorithm>
#include <io_graph.H>
#include <tpl_graph.H>
Include dependency graph for io_graph_test.cc:

Go to the source code of this file.

Classes

class  IOGraphTest
 
class  IODigraphTest
 

Functions

 TEST_F (IOGraphTest, ConstructFromReference)
 
 TEST_F (IOGraphTest, ConstructFromPointer)
 
 TEST_F (IOGraphTest, VerboseMode)
 
 TEST_F (IOGraphTest, SaveAndLoadBinary)
 
 TEST_F (IOGraphTest, BinaryPreservesNodeData)
 
 TEST_F (IOGraphTest, BinaryPreservesArcData)
 
 TEST_F (IOGraphTest, SaveAndLoadText)
 
 TEST_F (IOGraphTest, TextPreservesNodeData)
 
 TEST_F (IOGraphTest, TextModeToStringStream)
 
 TEST_F (IOGraphTest, SaveAndLoadEmptyGraphBinary)
 
 TEST_F (IOGraphTest, SaveAndLoadEmptyGraphText)
 
 TEST_F (IOGraphTest, SaveAndLoadSingleNodeBinary)
 
 TEST_F (IODigraphTest, SaveAndLoadBinary)
 
 TEST_F (IODigraphTest, SaveAndLoadText)
 
 TEST (DftStoreNodeTest, TextMode)
 
 TEST (DftStoreArcTest, TextMode)
 
 TEST (DftLoadNodeTest, TextMode)
 
 TEST (DftLoadArcTest, TextMode)
 
 TEST_F (IOGraphTest, SetLoadNode)
 
 TEST_F (IOGraphTest, SetStoreNode)
 
 TEST_F (IOGraphTest, SetLoadArc)
 
 TEST_F (IOGraphTest, SetStoreArc)
 
 TEST_F (IOGraphTest, LoadFromBadFile)
 
 TEST_F (IOGraphTest, LoadTextFromBadFile)
 
 TEST_F (IOGraphTest, MultipleRoundTripsBinary)
 
 TEST_F (IOGraphTest, MultipleRoundTripsText)
 
int main (int argc, char **argv)
 

Detailed Description

Comprehensive unit tests for io_graph.H.

Definition in file io_graph_test.cc.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 644 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST() [1/4]

◆ TEST() [2/4]

TEST ( DftLoadNodeTest  ,
TextMode   
)

◆ TEST() [3/4]

◆ TEST() [4/4]

TEST ( DftStoreNodeTest  ,
TextMode   
)

◆ TEST_F() [1/22]

TEST_F ( IODigraphTest  ,
SaveAndLoadBinary   
)

Definition at line 403 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [2/22]

TEST_F ( IODigraphTest  ,
SaveAndLoadText   
)

Definition at line 426 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [3/22]

TEST_F ( IOGraphTest  ,
BinaryPreservesArcData   
)

Definition at line 193 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [4/22]

TEST_F ( IOGraphTest  ,
BinaryPreservesNodeData   
)

Definition at line 171 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [5/22]

TEST_F ( IOGraphTest  ,
ConstructFromPointer   
)

Definition at line 122 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [6/22]

TEST_F ( IOGraphTest  ,
ConstructFromReference   
)

Definition at line 116 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [7/22]

TEST_F ( IOGraphTest  ,
LoadFromBadFile   
)

Definition at line 553 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [8/22]

TEST_F ( IOGraphTest  ,
LoadTextFromBadFile   
)

Definition at line 564 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [9/22]

TEST_F ( IOGraphTest  ,
MultipleRoundTripsBinary   
)

Definition at line 578 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [10/22]

TEST_F ( IOGraphTest  ,
MultipleRoundTripsText   
)

Definition at line 619 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [11/22]

TEST_F ( IOGraphTest  ,
SaveAndLoadBinary   
)

Definition at line 145 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [12/22]

TEST_F ( IOGraphTest  ,
SaveAndLoadEmptyGraphBinary   
)

Definition at line 285 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [13/22]

TEST_F ( IOGraphTest  ,
SaveAndLoadEmptyGraphText   
)

Definition at line 309 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [14/22]

TEST_F ( IOGraphTest  ,
SaveAndLoadSingleNodeBinary   
)

Definition at line 337 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [15/22]

TEST_F ( IOGraphTest  ,
SaveAndLoadText   
)

Definition at line 219 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [16/22]

TEST_F ( IOGraphTest  ,
SetLoadArc   
)

Definition at line 533 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [17/22]

TEST_F ( IOGraphTest  ,
SetLoadNode   
)

Definition at line 517 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [18/22]

TEST_F ( IOGraphTest  ,
SetStoreArc   
)

Definition at line 541 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [19/22]

TEST_F ( IOGraphTest  ,
SetStoreNode   
)

Definition at line 525 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [20/22]

TEST_F ( IOGraphTest  ,
TextModeToStringStream   
)

Definition at line 267 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [21/22]

TEST_F ( IOGraphTest  ,
TextPreservesNodeData   
)

Definition at line 245 of file io_graph_test.cc.

References Aleph::maps().

◆ TEST_F() [22/22]

TEST_F ( IOGraphTest  ,
VerboseMode   
)

Definition at line 128 of file io_graph_test.cc.

References Aleph::maps().