Aleph-w 7.10.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 <filesystem>
#include <limits>
#include <string>
#include <io_graph.H>
#include <tpl_graph.H>
#include <unistd.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)
 
 TEST_F (IOGraphTest, LoadRejectsAnArcToANodeThatIsNotThere)
 
 TEST_F (IOGraphTest, LoadInTextModeRejectsAnArcToANodeThatIsNotThere)
 
 TEST_F (IOGraphTest, AFailedLoadLeavesTheGraphAsItWas)
 
 TEST_F (IOGraphTest, ALoadAddsToTheGraph)
 
 TEST_F (IOGraphTest, ALoadDoesNotTrustTheCountOfTheStream)
 
 TEST_F (IOGraphTest, ALoadGrowsBeyondWhatItReserves)
 
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 839 of file io_graph_test.cc.

◆ TEST() [1/4]

TEST ( DftLoadArcTest  ,
TextMode   
)

◆ TEST() [2/4]

TEST ( DftLoadNodeTest  ,
TextMode   
)

◆ TEST() [3/4]

TEST ( DftStoreArcTest  ,
TextMode   
)

◆ TEST() [4/4]

TEST ( DftStoreNodeTest  ,
TextMode   
)

◆ TEST_F() [1/28]

◆ TEST_F() [2/28]

◆ TEST_F() [3/28]

◆ TEST_F() [4/28]

◆ TEST_F() [5/28]

◆ TEST_F() [6/28]

◆ TEST_F() [7/28]

◆ TEST_F() [8/28]

◆ TEST_F() [9/28]

TEST_F ( IOGraphTest  ,
ConstructFromPointer   
)

◆ TEST_F() [10/28]

TEST_F ( IOGraphTest  ,
ConstructFromReference   
)

◆ TEST_F() [11/28]

TEST_F ( IOGraphTest  ,
LoadFromBadFile   
)

◆ TEST_F() [12/28]

◆ TEST_F() [13/28]

◆ TEST_F() [14/28]

TEST_F ( IOGraphTest  ,
LoadTextFromBadFile   
)

◆ TEST_F() [15/28]

◆ TEST_F() [16/28]

◆ TEST_F() [17/28]

◆ TEST_F() [18/28]

◆ TEST_F() [19/28]

◆ TEST_F() [20/28]

◆ TEST_F() [21/28]

◆ TEST_F() [22/28]

◆ TEST_F() [23/28]

◆ TEST_F() [24/28]

◆ TEST_F() [25/28]

◆ TEST_F() [26/28]

TEST_F ( IOGraphTest  ,
TextModeToStringStream   
)

◆ TEST_F() [27/28]

◆ TEST_F() [28/28]