|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Comprehensive unit tests for io_graph.H. More...
#include <gtest/gtest.h>#include <sstream>#include <cstdio>#include <algorithm>#include <filesystem>#include <io_graph.H>#include <tpl_graph.H>#include <unistd.h>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) |
Comprehensive unit tests for io_graph.H.
Definition in file io_graph_test.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 687 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | DftLoadArcTest | , |
| TextMode | |||
| ) |
Definition at line 540 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), and Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node().
| TEST | ( | DftLoadNodeTest | , |
| TextMode | |||
| ) |
Definition at line 526 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node().
| TEST | ( | DftStoreArcTest | , |
| TextMode | |||
| ) |
Definition at line 510 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), and Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node().
| TEST | ( | DftStoreNodeTest | , |
| TextMode | |||
| ) |
Definition at line 496 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node().
| TEST_F | ( | IODigraphTest | , |
| SaveAndLoadBinary | |||
| ) |
Definition at line 446 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and out.
| TEST_F | ( | IODigraphTest | , |
| SaveAndLoadText | |||
| ) |
Definition at line 469 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and out.
| TEST_F | ( | IOGraphTest | , |
| BinaryPreservesArcData | |||
| ) |
Definition at line 227 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and out.
| TEST_F | ( | IOGraphTest | , |
| BinaryPreservesNodeData | |||
| ) |
Definition at line 205 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and out.
| TEST_F | ( | IOGraphTest | , |
| ConstructFromPointer | |||
| ) |
Definition at line 156 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST_F | ( | IOGraphTest | , |
| ConstructFromReference | |||
| ) |
Definition at line 150 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST_F | ( | IOGraphTest | , |
| LoadFromBadFile | |||
| ) |
Definition at line 596 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST_F | ( | IOGraphTest | , |
| LoadTextFromBadFile | |||
| ) |
Definition at line 607 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST_F | ( | IOGraphTest | , |
| MultipleRoundTripsBinary | |||
| ) |
Definition at line 621 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and out.
| TEST_F | ( | IOGraphTest | , |
| MultipleRoundTripsText | |||
| ) |
Definition at line 662 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and out.
| TEST_F | ( | IOGraphTest | , |
| SaveAndLoadBinary | |||
| ) |
Definition at line 179 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and out.
| TEST_F | ( | IOGraphTest | , |
| SaveAndLoadEmptyGraphBinary | |||
| ) |
Definition at line 319 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and out.
| TEST_F | ( | IOGraphTest | , |
| SaveAndLoadEmptyGraphText | |||
| ) |
Definition at line 343 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and out.
| TEST_F | ( | IOGraphTest | , |
| SaveAndLoadSingleNodeBinary | |||
| ) |
Definition at line 371 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and out.
| TEST_F | ( | IOGraphTest | , |
| SaveAndLoadText | |||
| ) |
Definition at line 253 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and out.
| TEST_F | ( | IOGraphTest | , |
| SetLoadArc | |||
| ) |
Definition at line 576 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST_F | ( | IOGraphTest | , |
| SetLoadNode | |||
| ) |
Definition at line 560 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST_F | ( | IOGraphTest | , |
| SetStoreArc | |||
| ) |
Definition at line 584 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST_F | ( | IOGraphTest | , |
| SetStoreNode | |||
| ) |
Definition at line 568 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST_F | ( | IOGraphTest | , |
| TextModeToStringStream | |||
| ) |
Definition at line 301 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and out.
| TEST_F | ( | IOGraphTest | , |
| TextPreservesNodeData | |||
| ) |
Definition at line 279 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and out.
| TEST_F | ( | IOGraphTest | , |
| VerboseMode | |||
| ) |
Definition at line 162 of file io_graph_test.cc.
References Aleph::blossom_maximum_cardinality_matching().